MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP of file - Characters are getting changed....

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
psridhar
Beginner


Joined: 16 May 2004
Posts: 68
Topics: 26

PostPosted: Fri Feb 25, 2005 12:23 pm    Post subject: FTP of file - Characters are getting changed.... Reply with quote

Hi

I have a problem while doing FTP of a file. The content in the file is ":4]c//16x|". When I FTP that file to desktop as test.txt, the content in the text file is ":4!c//16x
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Feb 25, 2005 3:29 pm    Post subject: Reply with quote

Well, you've got a file that contains characters that don't exist in EBCDIC, so the FTP translation table can't properly convert the coding.

First, a good rule of thumb: don't use characters that can't be entered directly from a standard 3270 keyboard.

Part of the problem may be that your site has implemented a modified translation table. The logical OR "|" character is supposed to be a x'6A' in EBCDIC to properly translate to the ASCII character x'7C'. Your site may be coding that character as x'4F'.

The right bracket "]" doesn't exist in EBCDIC, so it is not going to get translated correctly.

I would start by determining how the file should be formatted on the ASCII machine. Then, I would upload the file through the same FTP process. Then, editing the dataset with HEX ON, you should be able to see what is required for the EBCDIC character equivelent.

Once you know that, I would then pass the original file through a translation process, converting the characters as necessary to their required EBCDIC values, before running the FTP.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group