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

convert from ASCII to EBCDIC using JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sow6

New User


Joined: 04 Jul 2007
Posts: 8
Location: chennai

PostPosted: Fri Oct 05, 2007 3:39 pm
Reply with quote

Hi..

How to convert data from ASCII data format to EBCDIC using JCL
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Oct 05, 2007 4:16 pm
Reply with quote

Hi,

Please have a look into the below link hope it might help you ..

www.simotime.com/cble2a01.htm
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Oct 05, 2007 4:20 pm
Reply with quote

yo,

Can you try this below code for further ...

/
Code:
/
//STEP01     EXEC PGM=IKJEFT01,REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//EBCIN DD DSN=NODE1.NODE2.EBCDIC.DATA,DISP=SHR
//ASCOUT DD DSN=NODE1.NODE2.ASCII.DATA,
// DISP=(,CATLG,CATLG),
// UNIT=FILE,
// SPACE=(CYL,(168,25),RLSE),
// DCB=(NODE1.NODE2.EBCDIC.DATA)
//SYSTSIN DD *
OCOPY INDD(EBCIN) OUTDD(ASCOUT) CONVERT((BPXFX311)) FROM1047
/*
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Oct 05, 2007 6:30 pm
Reply with quote

SAS could also be used, as well as REXX.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Convert HEX to Numeric DB2 3
Search our Forums:

Back to Top