View previous topic :: View next topic
|
Author |
Message |
kannag
New User
Joined: 02 Aug 2006 Posts: 23 Location: chennai
|
|
|
|
hi all,
anyone can explain about repro with example. |
|
Back to top |
|
|
sihanature Warnings : 1 New User
Joined: 01 Sep 2005 Posts: 33
|
|
|
|
Hi
Repro is basically a Copy command ,which is used to copy the data from one PS to another with help of IDCAMS
Here is the Example.
//IDCAM1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DDIN DD DSN='XXXX.XXXX.XXX1',DISP=SHR
//DDOUT DD DSN='XXXX.XXXX.XXX2',DISP=SHR
//SYSIN DD *
REPRO INFILE(DDIN) OUTFILE(DDOUT)
/*
//
Hope you understood the concept of REPRO.
Thanks |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The REPRO command is well documented in the fine manual.
O. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Hi kannag,
If you need to copy a PS to other. Similar to save as in Windows. We have a command REPRO for doing this.
We use the utility IDCAMS for this.
Simple way, is to give the PS to be copied in INDD and the ouput PS in OUTDD. Even multiple repro can be done using a single JCL by having INDD1,INDD2... to OUTDD1,OUTDD2...
You can use the above code to perform this.
If you still need more info, do come up with your doubts.
Regards,
Diwakar.D
------------------------------------------------
Nobody is perfect. I am Nobody |
|
Back to top |
|
|
|