 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CPYFRMIMPF Issue</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 20:47:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/#comment-106900</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 20 Apr 2012 19:44:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-106900</guid>
		<description><![CDATA[&lt;i&gt;fixed requires that each “column” of the input data be spaced according to the database file that you’re putting the data into.&lt;/i&gt;

I haven&#039;t needed to use *FIXED, so I don&#039;t know. &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fdm%2Frbal3fixfor.htm&quot;&gt;Examples&lt;/a&gt; in the Info Center seem to show that matching the spacing/positioning is not required. As near as I can tell, that&#039;s one main point of the FDF -- to provide a conversion map.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>fixed requires that each “column” of the input data be spaced according to the database file that you’re putting the data into.</i></p>
<p>I haven&#8217;t needed to use *FIXED, so I don&#8217;t know. <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fdm%2Frbal3fixfor.htm">Examples</a> in the Info Center seem to show that matching the spacing/positioning is not required. As near as I can tell, that&#8217;s one main point of the FDF &#8212; to provide a conversion map.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/#comment-106882</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 20 Apr 2012 10:44:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-106882</guid>
		<description><![CDATA[fixed requires that each &quot;column&quot; of the input data be spaced according to the database file that you&#039;re putting the data into.  Easy enogh for Character fields, A bit an issue with other types of fields.]]></description>
		<content:encoded><![CDATA[<p>fixed requires that each &#8220;column&#8221; of the input data be spaced according to the database file that you&#8217;re putting the data into.  Easy enogh for Character fields, A bit an issue with other types of fields.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/#comment-106877</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 20 Apr 2012 06:18:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-106877</guid>
		<description><![CDATA[I can&#039;t tell what the right way to do it is. From your description, your command apparently needs to look more like this:&lt;pre&gt;
CPYFRMIMPF FROMSTMF(&#039;/home/rdutil/prj36up1.txt&#039;)
           TOFILE(NEWPAY/PRJ36)
           MBROPT(*REPLACE)
           RCDDLM(*CRLF)
           DTAFMT(*FIXED)
           STRDLM(*NONE)
           RMVBLANK(*NONE)
           RPLNULLVAL(*NO)&lt;/pre&gt;
You said your streamfile isn&#039;t delimited, so the DTAFMT(*FIXED) parameter needs to be specified. I don&#039;t know if you need STMFLEN(135).

Without seeing what lines in the streamfile contain and what your database file is like, that&#039;s about as far as it can go.

It won&#039;t run, though. The error message will explain why, and the &lt;help&gt; for the command will explain what to do about it.

Tom]]></description>
		<content:encoded><![CDATA[<p>I can&#8217;t tell what the right way to do it is. From your description, your command apparently needs to look more like this:
<pre>
CPYFRMIMPF FROMSTMF('/home/rdutil/prj36up1.txt')
           TOFILE(NEWPAY/PRJ36)
           MBROPT(*REPLACE)
           RCDDLM(*CRLF)
           DTAFMT(*FIXED)
           STRDLM(*NONE)
           RMVBLANK(*NONE)
           RPLNULLVAL(*NO)</pre>
<p>You said your streamfile isn&#8217;t delimited, so the DTAFMT(*FIXED) parameter needs to be specified. I don&#8217;t know if you need STMFLEN(135).</p>
<p>Without seeing what lines in the streamfile contain and what your database file is like, that&#8217;s about as far as it can go.</p>
<p>It won&#8217;t run, though. The error message will explain why, and the &lt;help&gt; for the command will explain what to do about it.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raydutil</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-issue-3/#comment-106865</link>
		<dc:creator>raydutil</dc:creator>
		<pubDate>Thu, 19 Apr 2012 18:43:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-106865</guid>
		<description><![CDATA[Here is the command I&#039;m using:  CPYFRMIMPF FROMSTMF(&#039;/home/rdutil/prj36up1.txt&#039;) TOFILE(NEWPAY/PRJ36) MBROPT(*REPLACE) STMFLEN(135) RCDDLM(*CRLF) STRDLM(*NONE) RMVBLANK(*NONE) RPLNULLVAL(*NO)]]></description>
		<content:encoded><![CDATA[<p>Here is the command I&#8217;m using:  CPYFRMIMPF FROMSTMF(&#8216;/home/rdutil/prj36up1.txt&#8217;) TOFILE(NEWPAY/PRJ36) MBROPT(*REPLACE) STMFLEN(135) RCDDLM(*CRLF) STRDLM(*NONE) RMVBLANK(*NONE) RPLNULLVAL(*NO)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.016 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 21:54:52 -->