<?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; CPYTOIMPF</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/as400/cpytoimpf/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:12:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Data missing in CPYTOIMPF</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-misising-in-cpytoimpf/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/data-misising-in-cpytoimpf/#comments</comments>
		<pubDate>Mon, 01 Apr 2013 08:21:12 +0000</pubDate>
		<dc:creator>asakla</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 commands]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/data-misising-in-cpytoimpf/</guid>
		<description><![CDATA[New Discussion Post by TomLiotta]]></description>
				<content:encoded><![CDATA[New Discussion Post by TomLiotta]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/data-misising-in-cpytoimpf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AS/400 CPYTOIMPF</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-cpytoimpf/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-cpytoimpf/#comments</comments>
		<pubDate>Fri, 30 Nov 2012 05:42:02 +0000</pubDate>
		<dc:creator>kennedy2802</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 commands]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-cpytoimpf/</guid>
		<description><![CDATA[New Discussion Post by TomLiotta]]></description>
				<content:encoded><![CDATA[New Discussion Post by TomLiotta]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-cpytoimpf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Performance improvement CPYTOIMPF</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/performance-improvement-cpytoimpf/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/performance-improvement-cpytoimpf/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 05:47:58 +0000</pubDate>
		<dc:creator>ZWANZIG</dc:creator>
				<category><![CDATA[.CSV files]]></category>
		<category><![CDATA[AS/400]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/performance-improvement-cpytoimpf/</guid>
		<description><![CDATA[New Answer by MTidmarsh]]></description>
				<content:encoded><![CDATA[New Answer by MTidmarsh]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/performance-improvement-cpytoimpf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Need to replace Data transfer RXFERPCB.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/need-to-replace-data-transfer-rxferpcb/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/need-to-replace-data-transfer-rxferpcb/#comments</comments>
		<pubDate>Mon, 15 Oct 2012 20:14:35 +0000</pubDate>
		<dc:creator>NYRANGER</dc:creator>
				<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[File Transfer]]></category>
		<category><![CDATA[FTP]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/need-to-replace-data-transfer-rxferpcb/</guid>
		<description><![CDATA[New Discussion Post by NYRANGER]]></description>
				<content:encoded><![CDATA[New Discussion Post by NYRANGER]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/need-to-replace-data-transfer-rxferpcb/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>CPYTOIMPF .txt file shows garbage on IFS when viewing on windows</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-txt-file-shows-garbage-on-ifs-when-viewing-on-windows/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-txt-file-shows-garbage-on-ifs-when-viewing-on-windows/#comments</comments>
		<pubDate>Mon, 04 Jun 2012 17:35:33 +0000</pubDate>
		<dc:creator>Satvik</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[CPYTOIMPF .txt file shows garbage on IFS when viewing on windows but when using wrklnk it looks fine, please help.Below is the query I am using CPYTOIMPF FROMFILE(BIN815PA) TOSTMF(&#038;PATHDAT) + MBROPT(*ADD) FROMCCSID(*FILE) + STMFCODPAG(285) RCDDLM(*CRLF) + STRDLM(*NONE) FLDDLM(*TAB) CPYTOIMPF FROMFILE(BIN815PB) TOSTMF(&#038;PATHDAT) + MBROPT(*ADD) FROMCCSID(*FILE) + STMFCODPAG(285) RCDDLM(*CRLF) + STRDLM(*NONE) FLDDLM(*TAB) CCSID of the file (BIN815PA) [...]]]></description>
				<content:encoded><![CDATA[<p>CPYTOIMPF .txt file shows garbage on IFS when viewing on windows<br />
 but when using wrklnk it looks fine, please help.Below is the query I am using</p>
<p>CPYTOIMPF FROMFILE(BIN815PA) TOSTMF(&#038;PATHDAT) +<br />
 MBROPT(*ADD) FROMCCSID(*FILE) +<br />
 STMFCODPAG(285) RCDDLM(*CRLF) +<br />
 STRDLM(*NONE) FLDDLM(*TAB)<br />
CPYTOIMPF FROMFILE(BIN815PB) TOSTMF(&#038;PATHDAT) +<br />
 MBROPT(*ADD) FROMCCSID(*FILE) +<br />
 STMFCODPAG(285) RCDDLM(*CRLF) +<br />
 STRDLM(*NONE) FLDDLM(*TAB)<br />
CCSID of the file (BIN815PA) is 285 and the file has all char fields.<br />
 but the other file (BIN815PB) has CCSID as 65535,has numeric fields as well, Both files are copied to to the IFS folder (&#038;PATHDAT).</p>
<p>Issue is when viewing using WRKLNK the merged text file Look OK, but in the windows the text file has garbage values.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-txt-file-shows-garbage-on-ifs-when-viewing-on-windows/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>AS400 File transfer from AS400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-file-transfer-from-as400/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-file-transfer-from-as400/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 04:47:28 +0000</pubDate>
		<dc:creator>hamsinee</dc:creator>
				<category><![CDATA[AS/400 File Transfer]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[SNDDST]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I transfered the database output into excel file using CPYTOIMP command and attached the excel file using SNDDST command.But i have issue that i didn&#8217;t received the excel file through email only if the file size more.Anyone kindly tell me, how to write the data into multiple sheets or kindly advise me some idea to [...]]]></description>
				<content:encoded><![CDATA[<p>I transfered the database output into excel file using CPYTOIMP command and attached the excel file using SNDDST command.But i have issue that i didn&#8217;t received the excel file through email only if the file size more.Anyone kindly tell me, how to write the data into multiple sheets or kindly advise me some idea to fix the issue.<br />
Thanks in advance.<br />
R.Siva</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-file-transfer-from-as400/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CPYTOIMPF</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-6/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-6/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 17:15:00 +0000</pubDate>
		<dc:creator>Deon</dc:creator>
				<category><![CDATA[AS/400 Spool Files]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[IFS]]></category>
		<category><![CDATA[IFS Commands]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to copy a spool file to the IFS.  I tried ===&#62; CPYTOIMPF FROMFILE(FILES/SPRINT198) TOSTMF(&#8216;print/testprint.txt&#8217;) STMFCCSI D(*STDASCII) RCDDLM(*CRLF) DTAFMT(*FIXED)        and I got garbage &#8211;                               ]]></description>
				<content:encoded><![CDATA[<p>I want to copy a spool file to the IFS.  I tried ===&gt; CPYTOIMPF FROMFILE(FILES/SPRINT198) TOSTMF(&#8216;print/testprint.txt&#8217;) STMFCCSI D(*STDASCII) RCDDLM(*CRLF) DTAFMT(*FIXED)        and I got garbage &#8211;                               </p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/cpytoimpf-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Need to use the cpytoimpf command but have problem</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/need-to-use-the-cpytoimpf-command-but-have-problem/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/need-to-use-the-cpytoimpf-command-but-have-problem/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 18:55:22 +0000</pubDate>
		<dc:creator>AS400PCFileTransfer16</dc:creator>
				<category><![CDATA[CL Commands]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[iSeries Commands]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have an existing process that uses the following command the only change was to have it use the tildes (~) as a field delimiter. CPYTOIMPF FROMFILE(*LIBL/BDPRISM) TOSTMF(&#8216;/home/attach/vhaeom2/vhasales.txt&#8217;) MBROPT(*REPLACE) STMFCODPAG(1252) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM(*NONE) FLDDLM(&#8216;~&#8217;) But the command the command execute without error but the tilde is not place between the fields.  Below is a small [...]]]></description>
				<content:encoded><![CDATA[<p>I have an existing process that uses the following command the only change was to have it use the tildes (~) as a field delimiter.<br/><br/> CPYTOIMPF FROMFILE(*LIBL/BDPRISM) TOSTMF(&#8216;/home/attach/vhaeom2/vhasales.txt&#8217;) MBROPT(*REPLACE) STMFCODPAG(1252) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM(*NONE) FLDDLM(&#8216;~&#8217;) But the command the command execute without error but the tilde is not place between the fields.  Below is a small section of the file. <br/><br/> AE0443010 120180C00 00071015623 LIPITOR TAB 20 AE0443010 120180C00 07061015520 KERR VIAL PLAST CR-20 180                     AE0443010 120180C00 07061014030 KERR VIAL PLAST PPV-30 AE0443010 120180C00 07061014060 KERR VIAL PLAST PPV-60 <br/><br/> What am I doing wrong.<br/><br/>  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/need-to-use-the-cpytoimpf-command-but-have-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AS/400 tab text delimited format of physical file</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-tab-text-delimited-format-of-physical-file/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-tab-text-delimited-format-of-physical-file/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 06:06:52 +0000</pubDate>
		<dc:creator>Atti123</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 Database File]]></category>
		<category><![CDATA[CLP]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[Database Files]]></category>
		<category><![CDATA[DBF file]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi , Using i series utility you can download PF as Text Tab Delimited format in your PC.However when I do the same by CLP using CPYTOIMPF using FLDDLM as X&#8217;05&#8242; or *tab , I get a text tab delimited file which is not completely same as the file downloaded using I series utility.]]></description>
				<content:encoded><![CDATA[<p>Hi , Using i series utility you can download PF as Text Tab Delimited format in your PC.However when I do the same by CLP using CPYTOIMPF using FLDDLM as X&#8217;05&#8242; or *tab , I get a text tab delimited file which is not completely same as the file downloaded using I series utility.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-tab-text-delimited-format-of-physical-file/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Trimming og spaces in CLLE</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trimming-og-spaces-in-clle/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/trimming-og-spaces-in-clle/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 08:47:29 +0000</pubDate>
		<dc:creator>Rpgle400tech</dc:creator>
				<category><![CDATA[CL400.CL]]></category>
		<category><![CDATA[CLLE]]></category>
		<category><![CDATA[CPYTOIMPF]]></category>
		<category><![CDATA[V5R4]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, i am using v5r4, CLLe I have creted this pgm to transfer stream file into ifs folder        PGM        Dcl Var(&#038;Data) Type(*Char) Len(50)                    DCL VAR(&#038;Folder) TYPE(*CHAR) LEN(30)             DCL VAR(&#038;Filename) TYPE(*CHAR) LEN(100) /* Accessing the folder name from database to store the stream file INtest.CSV     */ [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>i am using v5r4, CLLe</p>
<p>I have creted this pgm to transfer stream file into ifs folder</p>
<p>       PGM</p>
<p>       Dcl Var(&#038;Data) Type(*Char) Len(50)       <br />
            DCL VAR(&#038;Folder) TYPE(*CHAR) LEN(30)<br />
            DCL VAR(&#038;Filename) TYPE(*CHAR) LEN(100)</p>
<p>/* Accessing the folder name from database to store the stream file INtest.CSV     */<br />
       CALL       PGM(MYS222B) PARM(&#8216; &#8216; &#8216;KEYF&#8217; &#038;DATA &#8216; &#8216;)<br />
       CHGVAR     VAR(&#038;folder) VALUE(%SST(&#038;DATA 1 30))        </p>
<p>/* Create the name of stream file INtest.CSV     */<br />
                                                            <br />
            CHGVAR     VAR(&#038;FILENAME) VALUE(&#8216;/&#8217; *cat &#038;Folder +<br />
                         *cat  &#8216;IN&#8217; *CAT +                  <br />
                         &#8216;test.csv&#8217;)                          <br />
                                             <br />
                                                            <br />
/* Copy the data                                           */     <br />
                                                                  <br />
            CPYTOIMPF  FROMFILE(MyPF) TOSTMF(&#038;FILENAME) +      <br />
                         MBROPT(*add) STMFCODPAG(*PCASCII) +      <br />
                         RCDDLM(*CRLF) FLDDLM(&#8216;,&#8217;) DATFMT(*EUR) + <br />
                         TIMFMT(*EUR)                             <br />
                                                                  <br />
            EndPgm                  </p>
<p><b><br />
Value of &#038;folder    = &#8216;Myfolder/                                 &#8216;</p>
<p>Value of &#038;Filename = &#8216;/Myfolder/                                  INtest.csv&#8217;</b></p>
<p>the problem is that file name is taking extra spaces because length of variable &#038;folder is 30 the data is only in 10 charecter.<br />
i can not fix the length of folder name because it can be changed.     </p>
<p>i need the Value of &#038;Filename = &#8216;/Myfolder/INtest.csv&#8217;<br />
                              <br />
is there any way to this (by trimming or anything else..</p>
<p>Thanks.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/trimming-og-spaces-in-clle/feed/</wfw:commentRss>
		<slash:comments>3</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/22 queries in 0.027 seconds using memcached
Object Caching 894/947 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 06:49:33 -->