Seeking clarity about ocopy.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Seeking clarity about ocopy.

Postby gokulNmf » Fri Apr 23, 2010 7:35 pm

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.
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 118
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 2 times
Been thanked: 0 time

Re: Seeking clarity about ocopy.

Postby swd » Fri Apr 23, 2010 7:52 pm

I've just googled it and found this

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.bpxa400/bpxza471422.htm

I've never used it myself though :?
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Seeking clarity about ocopy.

Postby Robert Sample » Fri Apr 23, 2010 8:57 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Seeking clarity about ocopy.

Postby gokulNmf » Sun Apr 25, 2010 5:38 pm

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.
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 118
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 2 times
Been thanked: 0 time

Re: Seeking clarity about ocopy.

Postby Robert Sample » Sun Apr 25, 2010 7:37 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Seeking clarity about ocopy.

Postby gokulNmf » Mon Apr 26, 2010 3:25 pm

Thank you Robert :). The information was very helpfull.
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 118
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 2 times
Been thanked: 0 time

Re: Seeking clarity about ocopy.

Postby Robert Sample » Mon Apr 26, 2010 5:14 pm

Glad to hear it helped.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post