View previous topic :: View next topic
|
Author |
Message |
btgprasad
New User
Joined: 21 Mar 2006 Posts: 4
|
|
|
|
will mainframe COBOL understand ascii coding format? corrct me if my question wrong.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Yes, when it is read from a Tape. You use the JCL parameter OPTCD=J. |
|
Back to top |
|
|
btgprasad
New User
Joined: 21 Mar 2006 Posts: 4
|
|
|
|
we are getting FTP file which will be ASCII format.when it is coming to main frame environment record format of that file is being entarly changed changed. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
Couldn't understand your question.
Mainframe has EBCDIC format rather than ASCII.
But, you can upload/ftp files in a ASCII format from/to PC , It works fine as it will be converted automatically into format which is recognized by mainframe. |
|
Back to top |
|
|
btgprasad
New User
Joined: 21 Mar 2006 Posts: 4
|
|
|
|
thank you for your responce parikshith.
i wanna read ASCII files.while running program it is giving abend that OPEN -error as file does nt have ASCII charecterstic in assign clause.what cd b reason .? (wihle uploading file from PC to MF, file is in still ebcdic format as i checked in by giving hex on . so i have a code which convert EBCDIC into ASCII. so created file containg ASCII which is not readable format but while giving hex on it showing proper equalents).
and can we ASCII file in main frams ? if it is ...is readble .or will it show in junk char. |
|
Back to top |
|
|
|