 




<?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: CPYTOPCD</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cpytopcd-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cpytopcd-5/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 12:30:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: hafwhit</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpytopcd-5/#comment-67036</link>
		<dc:creator>hafwhit</dc:creator>
		<pubDate>Mon, 17 Aug 2009 15:19:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-67036</guid>
		<description><![CDATA[I believe you are seeing the end of file characters (look at the help text for the command for “Format of PC data (TRNFMT)”). By default the command adds this to the document.  I believe you would get what you want by using the CPYTOIMPF on the first file (assuming it has externally defined fields) and inserting the character you want for the field separator. This would eliminate the second program.

You might end up with something like this:

&lt;pre&gt;
CPYTOIMPF FROMFILE(BIDETAIL) TOSTMF(&#039;/qdls/somefolder/textfile.txt&#039;)  
   RCDDLM(*CRLF) STRDLM(&#039;&quot;&#039;) FLDDLM(&#039;~&#039;)
&lt;/pre&gt;

You could even put the file in some other directory. I prefer to avoid using the QDLS folder and create a directory in the IFS that I control authority to.]]></description>
		<content:encoded><![CDATA[<p>I believe you are seeing the end of file characters (look at the help text for the command for “Format of PC data (TRNFMT)”). By default the command adds this to the document.  I believe you would get what you want by using the CPYTOIMPF on the first file (assuming it has externally defined fields) and inserting the character you want for the field separator. This would eliminate the second program.</p>
<p>You might end up with something like this:</p>
<pre>
CPYTOIMPF FROMFILE(BIDETAIL) TOSTMF('/qdls/somefolder/textfile.txt')  
   RCDDLM(*CRLF) STRDLM('"') FLDDLM('~')
</pre>
<p>You could even put the file in some other directory. I prefer to avoid using the QDLS folder and create a directory in the IFS that I control authority to.</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 3/10 queries in 0.038 seconds using memcached
Object Caching 267/273 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 14:59:44 -->