View previous topic :: View next topic |
Author |
Message |
arvibala Beginner

Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Thu Aug 14, 2008 4:44 am Post subject: Backup of Multiple PDS in a single step |
|
|
Hi,
I have PDS1, PDS2, PDS3 like this 16 PDS. Currently they are taking a backup of all the PDS to say PDS1.BKUP, PDS2.BKUP, PDS3.BKUP, etc Using IEBCOPY under 16 steps. I am sure we can customize this code. Can we do this in a single step? Pls help.
Thanks
Arvind B _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Aug 14, 2008 8:03 am Post subject: |
|
|
You can repeat the DD pairs and IEBCOPY control cards for 16 PDSs like this: Code: | //DD1IN DD DSN=SYSxxx.xxxxHCP1,DISP=OLD
//DD1OU DD DSN=SYSxxx.xxxxHCP1.BAK,DISP=(,KEEP),UNIT=CART,RETPD=2
//DD2IN DD DSN=SYSxxx.xxxxHCP2,DISP=OLD
//DD2OU DD DSN=SYSxxx.xxxxHCP2.BAK,DISP=(,KEEP),UNIT=CART,RETPD=2
//SYSIN DD *
COPY INDD=DD1IN,OUTDD=DD1OU
COPY INDD=DD2IN,OUTDD=DD2OU |
_________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Thu Aug 14, 2008 8:06 am Post subject: |
|
|
Yes you can. Please take the time to go read the utilities manual. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu Aug 14, 2008 1:47 pm Post subject: |
|
|
Or use ADRDSSU _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
arvibala Beginner

Joined: 12 Feb 2008 Posts: 142 Topics: 67
|
Posted: Tue Aug 19, 2008 1:32 pm Post subject: |
|
|
Thanks all.
Sure, I am preparing myself with the manuals and one day will surely guide others.
Thanks again _________________ Arvind
"You can make a difference with your smile. Have that with you always" |
|
Back to top |
|
 |
|
|