 




<?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: Problem with delimiter in CPYTOIMPF</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 23:54:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59237</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 16 Jan 2009 13:52:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-59237</guid>
		<description><![CDATA[Yes. 6a is the split vert bar.
Anyone using the QASCII table as their default would get that conversion unless they change the table.
And wayback when I was using the cut and past I must have been on a system using those tables.

Phil]]></description>
		<content:encoded><![CDATA[<p>Yes. 6a is the split vert bar.<br />
Anyone using the QASCII table as their default would get that conversion unless they change the table.<br />
And wayback when I was using the cut and past I must have been on a system using those tables.</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59234</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Fri, 16 Jan 2009 11:16:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-59234</guid>
		<description><![CDATA[I declared x&#039;6A&#039; as suggested and it worked.That was a good one.Is 6A the hex value for spilt vertical bar?Am still confused as to why this happened?was it because of conversion from EBCDIC to ASCII.I think this is a rare case correct me if am wrong.]]></description>
		<content:encoded><![CDATA[<p>I declared x&#8217;6A&#8217; as suggested and it worked.That was a good one.Is 6A the hex value for spilt vertical bar?Am still confused as to why this happened?was it because of conversion from EBCDIC to ASCII.I think this is a rare case correct me if am wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59162</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 13 Jan 2009 19:14:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-59162</guid>
		<description><![CDATA[Well there seems to be trouble in them their translation tables.

I&#039;m not sure which translation table you use
WrkTbl QASCII   &lt;-- an obvious EBCDIC
The vertical bar in ASCII is 127 Hex 7c
The vertical bar in EBCDIC is 79  Hex 4f  &#124;
                                             and 90 Hex 5a is !
                                             and 106 Hex 6a is the broken vertical bar

My ASCII table shows EBCDIC 6a to 7c but my conversion for 4f works   -- I suspect my system isn&#039;t using this table.

AND -- HERE&#039;S THE KICKER -- 4f to 21 which happens to be ... !  So QASCII will convert vert bar to !

So code your vertial var like this
D vert2           s              1    inz(X&#039;6a&#039;)    

It will look like a vertical broken bar on your 400 screen but will convert to a real 7c vertical bar .. maybe.
Phil]]></description>
		<content:encoded><![CDATA[<p>Well there seems to be trouble in them their translation tables.</p>
<p>I&#8217;m not sure which translation table you use<br />
WrkTbl QASCII   &lt;&#8211; an obvious EBCDIC<br />
The vertical bar in ASCII is 127 Hex 7c<br />
The vertical bar in EBCDIC is 79  Hex 4f  |<br />
                                             and 90 Hex 5a is !<br />
                                             and 106 Hex 6a is the broken vertical bar</p>
<p>My ASCII table shows EBCDIC 6a to 7c but my conversion for 4f works   &#8212; I suspect my system isn&#8217;t using this table.</p>
<p>AND &#8212; HERE&#8217;S THE KICKER &#8212; 4f to 21 which happens to be &#8230; !  So QASCII will convert vert bar to !</p>
<p>So code your vertial var like this<br />
D vert2           s              1    inz(X&#8217;6a&#8217;)    </p>
<p>It will look like a vertical broken bar on your 400 screen but will convert to a real 7c vertical bar .. maybe.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59158</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Tue, 13 Jan 2009 17:14:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-59158</guid>
		<description><![CDATA[I tried transmitting the flat file without using cpytoimpf and there still is a problem.
I dont have much idea about things like the ASCII conversion table.A small sample would gretaly help.
As of now i have initialised the part of DS with a &#039;&#124;&#039; symbol.A solution would be greatly appreciated.]]></description>
		<content:encoded><![CDATA[<p>I tried transmitting the flat file without using cpytoimpf and there still is a problem.<br />
I dont have much idea about things like the ASCII conversion table.A small sample would gretaly help.<br />
As of now i have initialised the part of DS with a &#8216;|&#8217; symbol.A solution would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59157</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 13 Jan 2009 17:06:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-59157</guid>
		<description><![CDATA[Apparently you&#039;re not the only one.
Ihttp://www.dynamoo.com/technical/ebcdic.htm

My vertical bar is EBSIDIC 4F and when I FTP a file with it to my PC I get the vertical bar.
I think you want to transmit ascii 124 (decimal). 
So you&#039;ll want to check the ASCII conversion table you&#039;re using.
In the data structure you may want to load it as X&#039;4F&#039; or whatever value the conversion table uses.

Phil]]></description>
		<content:encoded><![CDATA[<p>Apparently you&#8217;re not the only one.<br />
Ihttp://www.dynamoo.com/technical/ebcdic.htm</p>
<p>My vertical bar is EBSIDIC 4F and when I FTP a file with it to my PC I get the vertical bar.<br />
I think you want to transmit ascii 124 (decimal).<br />
So you&#8217;ll want to check the ASCII conversion table you&#8217;re using.<br />
In the data structure you may want to load it as X&#8217;4F&#8217; or whatever value the conversion table uses.</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59152</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Tue, 13 Jan 2009 16:16:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-59152</guid>
		<description><![CDATA[The reason why i used cpytoimpf is that i want the naming convention to have more than 15 characters.Also i have already used the pipe to seperare the fields in flat file.Now when am doing cpytoimpf there are options like field and string delimiter where i have given a pipe symbol still it reaches the other system as !

I also sent the flat file with pipe delimiter directly thr ftp without using cpytoimpf and the same problem occured.]]></description>
		<content:encoded><![CDATA[<p>The reason why i used cpytoimpf is that i want the naming convention to have more than 15 characters.Also i have already used the pipe to seperare the fields in flat file.Now when am doing cpytoimpf there are options like field and string delimiter where i have given a pipe symbol still it reaches the other system as !</p>
<p>I also sent the flat file with pipe delimiter directly thr ftp without using cpytoimpf and the same problem occured.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59151</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Tue, 13 Jan 2009 16:00:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-59151</guid>
		<description><![CDATA[The way I read your question, it looks like you are adding the pipe symbol to the flat file. I think this may be your problem.
 
Are you creating a flat file because you only need certain fields from the original file?   
If not, let the CPYTOIMPF insert the pipe symbol for you.

CPYTOIMPF  FROMFILE(MyFile) +                     
             TOSTMF(&#039;/IFSFOLDER/FILENAME.TXT&#039;) +     
             MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +  
             RCDDLM(*CRLF) STRDLM(*NONE) FLDDLM(&#039;&#124;&#039;)  

If you do only need certain fields from the original file, create a work file using DDS that contains only the fields you want. Then use the CPYTOIMPF command as illustrated above.]]></description>
		<content:encoded><![CDATA[<p>The way I read your question, it looks like you are adding the pipe symbol to the flat file. I think this may be your problem.</p>
<p>Are you creating a flat file because you only need certain fields from the original file?<br />
If not, let the CPYTOIMPF insert the pipe symbol for you.</p>
<p>CPYTOIMPF  FROMFILE(MyFile) +<br />
             TOSTMF(&#8216;/IFSFOLDER/FILENAME.TXT&#8217;) +<br />
             MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +<br />
             RCDDLM(*CRLF) STRDLM(*NONE) FLDDLM(&#8216;|&#8217;)  </p>
<p>If you do only need certain fields from the original file, create a work file using DDS that contains only the fields you want. Then use the CPYTOIMPF command as illustrated above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59142</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 13 Jan 2009 13:55:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-59142</guid>
		<description><![CDATA[Some time ago, I remember a similar problem.

What we did was to cut and paste the &#039;&#124;&#039; from a pc screen to the editor.
That symbol from the terminal emulator keyboard looked the same but had a different hex value.

Phil]]></description>
		<content:encoded><![CDATA[<p>Some time ago, I remember a similar problem.</p>
<p>What we did was to cut and paste the &#8216;|&#8217; from a pc screen to the editor.<br />
That symbol from the terminal emulator keyboard looked the same but had a different hex value.</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/prob-with-delimiter-in-cpytoimpf/#comment-59138</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Tue, 13 Jan 2009 11:48:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-59138</guid>
		<description><![CDATA[I have tried all three and the result is the same...]]></description>
		<content:encoded><![CDATA[<p>I have tried all three and the result is the same&#8230;</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.042 seconds using memcached
Object Caching 379/385 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 00:27:47 -->