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
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 6 Thu Mar 23, 2017 5:12 am
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


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