IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EBCDIC to ASCII


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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 Developer


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

PostPosted: Fri May 22, 2009 11:22 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
No new posts EBCDIC and ASCII CICS 7
No new posts include cond ascii constant DFSORT/ICETOOL 4
No new posts XYplorer - EBCDIC to ASCII translatio... All Other Mainframe Topics 0
No new posts EBCDIC to ASCII conversion help All Other Mainframe Topics 1
Search our Forums:

Back to Top