 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; CPF2845</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/cpf2845/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 22:05:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>CPYFRMIMPF CPF2845 reason code 10</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-cpf2845-reason-code-10/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-cpf2845-reason-code-10/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 01:35:37 +0000</pubDate>
		<dc:creator>Umpiredice</dc:creator>
				<category><![CDATA[AS/400 command functions]]></category>
		<category><![CDATA[AS/400 commands]]></category>
		<category><![CDATA[CPF2845]]></category>
		<category><![CDATA[CPYFRMIMPF]]></category>
		<category><![CDATA[OS/400]]></category>
		<category><![CDATA[V5R2]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[OS/400 V5R2. I&#8217;m running a CPYFRMIMPF to import a file from the IFS drive to a database file. this is the command: CPYFRMIMPF FROMSTMF(&#8216;/FTP/CPA/NUMERICT&#8217;) TOFILE(ASPONITE/SCPA00_TMP) MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM(*NONE) RMVBLANK(*NONE) FLDDFNFILE(ASPONITE/TBX400 SCPAFDF) RPLNULLVAL(*FLDDFT) The to-file and the field definition file both exist and match each other. And yet I get CPF2845 reason code 10, which [...]]]></description>
				<content:encoded><![CDATA[<p>OS/400 V5R2. I&#8217;m running a CPYFRMIMPF to import a file from the IFS drive to a database file. this is the command: <br/><br/> CPYFRMIMPF FROMSTMF(&#8216;/FTP/CPA/NUMERICT&#8217;) TOFILE(ASPONITE/SCPA00_TMP) MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM(*NONE) RMVBLANK(*NONE) FLDDFNFILE(ASPONITE/TBX400 SCPAFDF) RPLNULLVAL(*FLDDFT) <br/><br/> The to-file and the field definition file both exist and match each other. And yet I get CPF2845 reason code 10, which says the FDF is wrong. <br/><br/> This is the DDS source for the to-file: <br/><br/> A UNIQUE <br/><br/> A R SCPA00 <br/><br/> A FILLER1 09 <br/><br/> A INSTYP 02 <br/><br/> A INSTID 10 <br/><br/> A STATUS 01 <br/><br/> A CRSREF 10 <br/><br/> A LANGCD 01 <br/><br/> A INSENM 36 <br/><br/> A INSFNM 36 <br/><br/> A BRCHNM 36 <br/><br/> A BRCHAD 36 <br/><br/> A PSTADDR 36 <br/><br/> A TOWN 36 <br/><br/> A PROVCD 04 <br/><br/> A POSTCD 10 <br/><br/> A CNTRY 20 <br/><br/> A INSTIDCR 22 <br/><br/> A MICRED 22 <br/><br/> A SERVICE 01 <br/><br/> A EXCHPT 06 <br/><br/> A FBNKNBR 10 <br/><br/> A EFFDAT 06 <br/><br/> A FILLER2 50 <br/><br/> A K INSTID <br/><br/> and this is the content of the FDF: <br/><br/> FILLER1 1 9 0 <br/><br/> INSTYP 10 11 0 <br/><br/> INSTID 12 21 0 <br/><br/> STATUS 22 22 0 <br/><br/> CRSREF 23 32 0 <br/><br/> LANGCD 33 33 0 <br/><br/> INSENM 34 69 0 <br/><br/> INSFNM 70 105 0 <br/><br/> BRCHNM 106 141 0 <br/><br/> BRCHAD 142 177 0 <br/><br/> PSTADDR 178 213 0 <br/><br/> TOWN 214 249 0 <br/><br/> PROVCD 250 253 0 <br/><br/> POSTCD 254 263 0 <br/><br/> CNTRY 264 283 0 <br/><br/> INSTIDCR 284 305 0 <br/><br/> MICRED 306 327 0 <br/><br/> SERVICE 328 328 0 <br/><br/> EXCHPT 329 334 0 <br/><br/> FBNKNBR 335 344 0 <br/><br/> EFFDAT 345 350 0 <br/><br/> FILLER2 351 400 0 <br/><br/> *END <br/><br/> Can anyone tell me what I am doing wrong? <br/><br/> Interestingly enough, we have another AS/400 running V5R4, and the exact same command with the exact same to-file and the exact same FDF works fine there.<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/cpyfrmimpf-cpf2845-reason-code-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.020 seconds using memcached
Object Caching 320/338 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 03:20:49 -->