IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to copy mutiply pds to mutiply pds in one step?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
linc

New User


Joined: 25 Aug 2008
Posts: 25
Location: china

PostPosted: Tue Feb 17, 2009 6:39 pm
Reply with quote

As the topic meaning,I need to use one utility copy mutiply pds dataset to another mutiply pds dataset.(correspond one by one).Anybody how can do this.Following code is for ref(A->B,C->D......):
Code:

//JS010   EXEC PGM=?
//SYSUT1    DD DSN=A,   
//             DISP=SHR                                         
//*                                                             
//SYSUT2    DD DSN=B,         
//             DISP=(NEW,CATLG,DELETE),                         
//             MGMTCLAS=GM05D01Y,                               
//             AVGREC=K,                                       
//             SPACE=(166,(100,50),RLSE),                       
//             LRECL=166,DSORG=PS,RECFM=FB                     
//*                                                             
//SYSUT3    DD DSN=C,   
//             DISP=SHR                                         
//SYSUT4    DD DSN=D,         
//             DISP=(NEW,CATLG,DELETE),                         
//             MGMTCLAS=GM05D01Y,                               
//             AVGREC=K....
                                       
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Feb 17, 2009 6:53 pm
Reply with quote

IEBCOPY is usually the preferred utility.
Back to top
View user's profile Send private message
linc

New User


Joined: 25 Aug 2008
Posts: 25
Location: china

PostPosted: Tue Feb 17, 2009 7:12 pm
Reply with quote

Could you give me a sample for using IEBCOPY mutiply copies?THanks very much.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 17, 2009 7:43 pm
Reply with quote

Several samples available in the fine manual. Look to the IBM Manuals link at top and see IBM JCL Utilities Guide for DFSMS

Garry. [/u]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 17, 2009 7:47 pm
Reply with quote

Or you could use DFdss with RENAME
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top