MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Backup of Multiple PDS in a single step

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
arvibala
Beginner


Joined: 12 Feb 2008
Posts: 142
Topics: 67

PostPosted: Thu Aug 14, 2008 4:44 am    Post subject: Backup of Multiple PDS in a single step Reply with quote

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
View user's profile Send private message Yahoo Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Aug 14, 2008 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Aug 14, 2008 8:06 am    Post subject: Reply with quote

Yes you can. Please take the time to go read the utilities manual.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Aug 14, 2008 1:47 pm    Post subject: Reply with quote

Or use ADRDSSU
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
arvibala
Beginner


Joined: 12 Feb 2008
Posts: 142
Topics: 67

PostPosted: Tue Aug 19, 2008 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group