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
 
EBCDIC to ASCII conversion in NDM/FTP job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: EBCDIC to ASCII conversion in NDM/FTP job
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

Moderator Team Head


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

PostPosted: Sat Jul 11, 2009 8:24 pm    Post subject: Reply to: EBCDIC to ASCII conversion in NDM/FTP job
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    Post subject: Reply to: EBCDIC to ASCII conversion in NDM/FTP job
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

Site Director


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

PostPosted: Fri Aug 21, 2009 2:41 am    Post subject:
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    Post subject: Reply to: EBCDIC to ASCII conversion in NDM/FTP job
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

Site Director


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

PostPosted: Fri Aug 21, 2009 2:55 am    Post subject: Reply to: EBCDIC to ASCII conversion in NDM/FTP job
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
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

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