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
 

 

mainframe COBOL - ascii coding format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
btgprasad

New User


Joined: 21 Mar 2006
Posts: 4

PostPosted: Thu Jun 29, 2006 9:18 pm    Post subject: mainframe COBOL - ascii coding format
Reply with quote

will mainframe COBOL understand ascii coding format? corrct me if my question wrong..
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jun 30, 2006 1:16 am    Post subject: Re: mainframe COBOL - ascii coding format
Reply with quote

Yes, when it is read from a Tape. You use the JCL parameter OPTCD=J.
Back to top
View user's profile Send private message
btgprasad

New User


Joined: 21 Mar 2006
Posts: 4

PostPosted: Fri Jun 30, 2006 11:33 am    Post subject: mainframe COBOL - ascii coding format
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jul 05, 2006 4:51 pm    Post subject:
Reply with quote

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
View user's profile Send private message
btgprasad

New User


Joined: 21 Mar 2006
Posts: 4

PostPosted: Wed Jul 05, 2006 6:02 pm    Post subject: Re: mainframe COBOL - ascii coding format
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm


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