IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Issues FTPing data from TXT file to mainframe


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nitin_sarad

New User


Joined: 09 Mar 2009
Posts: 2
Location: Delhi

PostPosted: Fri Oct 23, 2009 6:17 pm
Reply with quote

I am trying to FTP a TXT file to mainframes. My FTP card was working absolutely fine lately and we made no changes to the FTP card as well. But in the last few runs we are facing a problem. When the TXT file is FTPed it is not FTPed in the correct format.

For example
if the TXT file contained information as:
INT0569.txtIMO France Mail
it will be FTPed to mainframe as:
ÿþI N T 0 5 6 9 . t x t I M O F r a n c e

Its confusing how and why we are getting ÿþ in front of the record and why there is a space between each alphabet.

I will appreciate any help with regard to this.

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 23, 2009 6:23 pm
Reply with quote

Looks like Unicode; you might check to see if the source file encoding was changed from ASCII to UTF (-16 maybe). If so, then the received data would change even though nothing about the FTP is different -- the translation changes based on the source, so change from ASCII to UTF and the output changes.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Store the data for fixed length COBOL Programming 1
Search our Forums:

Back to Top