Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us