Page 1 of 1

Seeking clarity about ocopy.

PostPosted: Fri Apr 23, 2010 7:35 pm
by gokulNmf
Hi,

i want to know about ocopy statement and it's different options. I googled about it, but dint get a clear view of it. Can you please let me know where i can find more information on ocopy.

Re: Seeking clarity about ocopy.

PostPosted: Fri Apr 23, 2010 7:52 pm
by swd

Re: Seeking clarity about ocopy.

PostPosted: Fri Apr 23, 2010 8:57 pm
by Robert Sample
It's described in the Unix System Services Command Reference manual. I haven't used it a lot (oget and oput are a different story), but if you have specific questions I might have an answer.

Re: Seeking clarity about ocopy.

PostPosted: Sun Apr 25, 2010 5:38 pm
by gokulNmf
Thank you Swd and Robert.
i have finished my jcl
//*                                                             
//CONVERT  EXEC PGM=IKJEFT01,COND=(0,NE)                       
//SYSTERM  DD  DUMMY                                           
//INPUT    DD  DSN=NO123.J36.INTPUT.BSAM,DISP=SHR   
//OUTPUT   DD  DSN=NO123.EDCDIC.FILE,DISP=SHR               
//SYSTSIN  DD  DATA                                             
 OCOPY INDD(INPUT) OUTDD(OUTPUT) TEXT CONVERT((BPXFX311))       
/*                                                             
//SYSTSPRT DD SYSOUT=*                                         
//SYSPRINT DD SYSOUT=*                                         
//SYSUDUMP DD SYSOUT=*                                         
//SYSOUT   DD SYSOUT=*                                         
//*                                                             

Now the problem is i want to know about the options used with ocopy, particullarly after the OUTDD. And also whats the BPXF311, when i gooled i got the answer as its the translation table. What is translation table and waht its function. its presetn in sys.linklib.

Re: Seeking clarity about ocopy.

PostPosted: Sun Apr 25, 2010 7:37 pm
by Robert Sample
You need to figure out how to access the IBM z/OS libraries at http://www.s390.ibm.com so you can look up information yourself. The link to the Unix System Services Command Reference manual is http://publibz.boulder.ibm.com/cgi-bin/ ... 0119092009 and you can find out not just the options of OCOPY in it but also about translation tables. I recommend you bookmark the link as it sounds like you will need it again.

Re: Seeking clarity about ocopy.

PostPosted: Mon Apr 26, 2010 3:25 pm
by gokulNmf
Thank you Robert :). The information was very helpfull.

Re: Seeking clarity about ocopy.

PostPosted: Mon Apr 26, 2010 5:14 pm
by Robert Sample
Glad to hear it helped.