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
 

 

EBCDIC to ASCII

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kalukakkad

New User


Joined: 10 Mar 2005
Posts: 81

PostPosted: Fri May 22, 2009 11:04 pm    Post subject: EBCDIC to ASCII
Reply with quote

I have a file of ASCII. I need to convert this to EBCDIC. Could you please help.

For Eg:

One of the records (of ASCII) on the file looks like -

303C2F45 78636861 6E676552 6174653E 3C436861 7267696E 67496E66 6F3E3C43

and I am expecting the output of this in EBCDIC as:

*0</ExchangeRate><ChargingInfo><C
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri May 22, 2009 11:22 pm    Post subject:
Reply with quote

It can be done with DFSORT using an ALTSEQ table you set up yourself to do the specific ASCII to EBCDIC conversion you want. The control statements would be something like this:

Code:

   OPTION COPY
   INREC BUILD=(1,m,TRAN=ALTSEQ)
   ALTSEQ CODE=(hhhh,...)


There's no "standard" ASCII to EBCDIC table so you have to code up what you want.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EBCDIC to ASCII conversion using OCOPY mistah kurtz All Other Mainframe Topics 5 Tue Sep 06, 2016 2:26 pm
No new posts Converting EBCDIC to Unicode (TimeStamp) muralikrishnan_new COBOL Programming 2 Mon Jul 25, 2016 10:42 pm
No new posts How to display data in separate lines... salilnigam1970 DFSORT/ICETOOL 2 Tue Jan 26, 2016 9:49 pm
No new posts How to display data in separate lines... salilnigam1970 JCL & VSAM 6 Tue Jan 26, 2016 5:30 pm
No new posts IBM Encryption Facility OpenPGP - ASC... Mark Walker69 IBM Tools 3 Thu Oct 15, 2015 10:43 pm


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