Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Issues FTPing data from TXT file to mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Issues FTPing data from TXT file to mainframe
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: 7999
Location: Bellevue, IA

PostPosted: Fri Oct 23, 2009 6:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us