<?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: AS/400 SFTP causes one position shift of data in send file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 18:51:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: The Most-Watched IT Questions: November 30, 2010 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84509</link>
		<dc:creator>The Most-Watched IT Questions: November 30, 2010 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 30 Nov 2010 06:20:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-84509</guid>
		<description><![CDATA[[...] 8. Boykie and TomLiotta gave it their best shot trying to help figure out why AS/400 SFTP causes one position shift of data in send file. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 8. Boykie and TomLiotta gave it their best shot trying to help figure out why AS/400 SFTP causes one position shift of data in send file. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84089</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 19 Nov 2010 21:14:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-84089</guid>
		<description><![CDATA[To show spacing, paste your lines. Then select the pasted lines and click the {code} box at the top of the entry area:&lt;pre&gt;
DATA FROM AS/400—————–&#124;&#124;&#124;&#124;&#124;&#124;DATA WHILE LOADING INTO ORACLE
1222 XXX 333333 XYZ1 444444 &#124;&#124;&#124;&#124;&#124;&#124;1222 XXX&#124;&#124;333333 XYZ1 444444
3323 YYY 213333 XYZ1 231233 &#124;&#124;&#124;&#124;&#124;&#124;3323 YYY&#124;&#124;&#124;213333 XYZ1 231233
2313 ZZZ 323233 XYZ1 231233 &#124;&#124;&#124;&#124;&#124;&#124;2313 ZZZ&#124;&#124;&#124;323233 XYZ1 231233 &lt;/pre&gt;
Please use WRKLNK (or the DSPF command) to view the portion of the file that causes the problem. Select a portion of the first record and the second and third records to show part of a good line and a couple bad lines. You only need to show a block of characters from before and after the problem area. The section might look like this:&lt;pre&gt;
,&quot;233719&quot;,&quot;TESTLF    &quot;,&quot;T
,&quot;233719&quot;,&quot;TESTLF    &quot;,&quot;T
,&quot;233719&quot;,&quot;TESTLF    &quot;,&quot;T
,&quot;233719&quot;,&quot;upddta2   &quot;,&quot;T&lt;/pre&gt;
Then, while still viewing the file, press &lt;F10=Display hex&gt; so you can copy/paste a {code} block like:&lt;pre&gt;
2C223233 33373139 222C2254 4553544C 46202020   ,&quot;233719&quot;,&quot;TESTLF   
2C223233 33373139 222C2254 4553544C 46202020   ,&quot;233719&quot;,&quot;TESTLF   
2C223233 33373139 222C2254 4553544C 46202020   ,&quot;233719&quot;,&quot;TESTLF   
2C223233 33373139 222C2275 70646474 61322020   ,&quot;233719&quot;,&quot;upddta2  &lt;/pre&gt;
Finally, press &lt;F10&gt; to get back to character mode and press &lt;F15=Services&gt; to show the CCSID of the file. Paste the CCSID value back here.

Something odd is going on. The data needs to be examined to be sure of some possibilities.

Tom]]></description>
		<content:encoded><![CDATA[<p>To show spacing, paste your lines. Then select the pasted lines and click the {code} box at the top of the entry area:
<pre>
DATA FROM AS/400—————–||||||DATA WHILE LOADING INTO ORACLE
1222 XXX 333333 XYZ1 444444 ||||||1222 XXX||333333 XYZ1 444444
3323 YYY 213333 XYZ1 231233 ||||||3323 YYY|||213333 XYZ1 231233
2313 ZZZ 323233 XYZ1 231233 ||||||2313 ZZZ|||323233 XYZ1 231233 </pre>
<p>Please use WRKLNK (or the DSPF command) to view the portion of the file that causes the problem. Select a portion of the first record and the second and third records to show part of a good line and a couple bad lines. You only need to show a block of characters from before and after the problem area. The section might look like this:
<pre>
,"233719","TESTLF    ","T
,"233719","TESTLF    ","T
,"233719","TESTLF    ","T
,"233719","upddta2   ","T</pre>
<p>Then, while still viewing the file, press &lt;F10=Display hex&gt; so you can copy/paste a {code} block like:
<pre>
2C223233 33373139 222C2254 4553544C 46202020   ,"233719","TESTLF   
2C223233 33373139 222C2254 4553544C 46202020   ,"233719","TESTLF   
2C223233 33373139 222C2254 4553544C 46202020   ,"233719","TESTLF   
2C223233 33373139 222C2275 70646474 61322020   ,"233719","upddta2  </pre>
<p>Finally, press &lt;F10&gt; to get back to character mode and press &lt;F15=Services&gt; to show the CCSID of the file. Paste the CCSID value back here.</p>
<p>Something odd is going on. The data needs to be examined to be sure of some possibilities.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: text</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84067</link>
		<dc:creator>text</dc:creator>
		<pubDate>Fri, 19 Nov 2010 08:35:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-84067</guid>
		<description><![CDATA[Hi Tom,
Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP). 

DATA FROM AS/400-----------------&#124;&#124;&#124;&#124;&#124;&#124;DATA WHILE LOADING INTO ORACLE
1222 XXX 333333 XYZ1 444444 &#124;&#124;&#124;&#124;&#124;&#124;1222 XXX&#124;&#124;333333 XYZ1 444444
3323 YYY 213333 XYZ1 231233 &#124;&#124;&#124;&#124;&#124;&#124;3323 YYY&#124;&#124;&#124;213333 XYZ1 231233
2313 ZZZ 323233 XYZ1 231233 &#124;&#124;&#124;&#124;&#124;&#124;2313 ZZZ&#124;&#124;&#124;323233 XYZ1 231233 

Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333 XYZ1 231233) 

I would like to check with you, is unix causes such a cause while sending from system1 to System2

Thank you!
Venkat]]></description>
		<content:encoded><![CDATA[<p>Hi Tom,<br />
Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP). </p>
<p>DATA FROM AS/400&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;||||||DATA WHILE LOADING INTO ORACLE<br />
1222 XXX 333333 XYZ1 444444 ||||||1222 XXX||333333 XYZ1 444444<br />
3323 YYY 213333 XYZ1 231233 ||||||3323 YYY|||213333 XYZ1 231233<br />
2313 ZZZ 323233 XYZ1 231233 ||||||2313 ZZZ|||323233 XYZ1 231233 </p>
<p>Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333 XYZ1 231233) </p>
<p>I would like to check with you, is unix causes such a cause while sending from system1 to System2</p>
<p>Thank you!<br />
Venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: text</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84066</link>
		<dc:creator>text</dc:creator>
		<pubDate>Fri, 19 Nov 2010 08:32:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-84066</guid>
		<description><![CDATA[Hi Tom,
Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP). 

DATA FROM AS/400 DATA                  &#124;&#124;&#124;&#124;&#124;&#124;        WHILE LOADING INTO ORACLE
1222  XXX  333333  XYZ1  444444    &#124;&#124;&#124;&#124;&#124;&#124;        1222    XXX   333333  XYZ1  444444
3323  YYY  213333  XYZ1  231233    &#124;&#124;&#124;&#124;&#124;&#124;         3323   YYY      213333  XYZ1  231233
2313  ZZZ  323233  XYZ1  231233    &#124;&#124;&#124;&#124;&#124;&#124;         2313   ZZZ      323233  XYZ1  231233 

Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333 XYZ1 231233) 

I would like to check with you, is unix causes such a cause while sending from system1 to System2

Thank you!
Venkat]]></description>
		<content:encoded><![CDATA[<p>Hi Tom,<br />
Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP). </p>
<p>DATA FROM AS/400 DATA                  ||||||        WHILE LOADING INTO ORACLE<br />
1222  XXX  333333  XYZ1  444444    ||||||        1222    XXX   333333  XYZ1  444444<br />
3323  YYY  213333  XYZ1  231233    ||||||         3323   YYY      213333  XYZ1  231233<br />
2313  ZZZ  323233  XYZ1  231233    ||||||         2313   ZZZ      323233  XYZ1  231233 </p>
<p>Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333 XYZ1 231233) </p>
<p>I would like to check with you, is unix causes such a cause while sending from system1 to System2</p>
<p>Thank you!<br />
Venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: text</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84064</link>
		<dc:creator>text</dc:creator>
		<pubDate>Fri, 19 Nov 2010 08:29:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-84064</guid>
		<description><![CDATA[Hi Tom,
 Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP).   

DATA FROM AS/400                                           DATA WHILE LOADING INTO ORACLE
 1222     XXX     333333  XYZ1  444444           1222     XXX   333333    XYZ1  444444
 3323     YYY    213333  XYZ1  231233             3323    YYY      213333    XYZ1  231233         
 2313     ZZZ     323233  XYZ1  231233            2313    ZZZ      323233    XYZ1  231233 

 Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333    XYZ1  231233)    
 
I would like to check with you, is unix causes such a cause while sending from system1 to System2

Thank you!
Venkat]]></description>
		<content:encoded><![CDATA[<p>Hi Tom,<br />
 Presently,We are doing an Enhancement, where we are sending files from AS/400 to Oracle through Unix Interface(SFTP).   </p>
<p>DATA FROM AS/400                                           DATA WHILE LOADING INTO ORACLE<br />
 1222     XXX     333333  XYZ1  444444           1222     XXX   333333    XYZ1  444444<br />
 3323     YYY    213333  XYZ1  231233             3323    YYY      213333    XYZ1  231233<br />
 2313     ZZZ     323233  XYZ1  231233            2313    ZZZ      323233    XYZ1  231233 </p>
<p> Here, whats happening is after file received into oracle and during loading, first line loading in proper way, but when coming from second line onwards, data shifting by one position starts from YYY. This is because length of second field is 4, due to we filled with only 3, and left WITH one blank position(XXX/YYY/ZZZ), this blank causes shift of rest of the record by one position. (213333    XYZ1  231233)    </p>
<p>I would like to check with you, is unix causes such a cause while sending from system1 to System2</p>
<p>Thank you!<br />
Venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-sftp-causes-1-postion-shift-of-data-in-send-file/#comment-84049</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 18 Nov 2010 21:33:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-84049</guid>
		<description><![CDATA[&lt;i&gt;I am copying data from flat file to path...&lt;/i&gt;

How are you copying it? Show us the command or program code that did the copying.

&lt;i&gt;...and sending on SFTP.&lt;/i&gt;

Sending to what? What kind of system? Unix? Windows? AS/400? Mainframe?

I would first look at what you chose for a record delimiter. The first thing that comes to mind is that you used a Carriage-return/line-feed combination, but the receiving system only reacts to newlines (line-feeds).

Maybe other possibilities will come to mind if we know what is being done.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>I am copying data from flat file to path&#8230;</i></p>
<p>How are you copying it? Show us the command or program code that did the copying.</p>
<p><i>&#8230;and sending on SFTP.</i></p>
<p>Sending to what? What kind of system? Unix? Windows? AS/400? Mainframe?</p>
<p>I would first look at what you chose for a record delimiter. The first thing that comes to mind is that you used a Carriage-return/line-feed combination, but the receiving system only reacts to newlines (line-feeds).</p>
<p>Maybe other possibilities will come to mind if we know what is being done.</p>
<p>Tom</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/9 queries in 0.027 seconds using memcached
Object Caching 338/341 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 18:52:03 -->