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

EBCDIC to ASCII conversion in NDM/FTP job


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

New User


Joined: 21 Mar 2007
Posts: 38
Location: US

PostPosted: Sat Jul 11, 2009 1:22 am
Reply with quote

I have a EBCDIC file format which needs to be converted to ASCII format when its sent to a system. Is there any parameter which can be specified in the NDM job to do this conversion?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Sat Jul 11, 2009 8:24 pm
Reply with quote

No, but the Process you use will need a SYSOPTS parameter specified with XLAT=YES for the COPY step. The SYSOPTS parameter values are unique for the particular SNODE you're communicating with.
Back to top
View user's profile Send private message
Balakrishnan

New User


Joined: 21 Aug 2009
Posts: 3
Location: US

PostPosted: Fri Aug 21, 2009 1:04 am
Reply with quote

You can use the below piece of code also:

//STEP01 EXEC PGM=IKJEFT01,REGION=512K
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//EBCIN DD DISP=SHR,DSN=USER007.TEST.EBCDIC
//ASCOUT DD DSN=USER007.TEST.FILE1.ASCII,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,DCB=*.EBCIN
// SPACE=(CYL,(10,10),RLSE)
//SYSTSIN DD *
OCOPY INDD(EBCIN) OUTDD(ASCOUT) CONVERT((BPXFX311)) FROM1047
/*
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 21, 2009 2:41 am
Reply with quote

Hello,

Is there some reason you prefer copying the entire file rather than letting the transfer do the conversion?
Back to top
View user's profile Send private message
Balakrishnan

New User


Joined: 21 Aug 2009
Posts: 3
Location: US

PostPosted: Fri Aug 21, 2009 2:45 am
Reply with quote

Not really, we had couple of requirements where we need to change from EBCDIC to ASCII though we were not doing the FTP for that file. SO thought of sharing it with the group.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 21, 2009 2:55 am
Reply with quote

Thanks for the clarification icon_smile.gif

d
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 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
No new posts SMF Record Date conversion failing CLIST & REXX 1
Search our Forums:

Back to Top