Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to copy mutiply pds to mutiply pds in one step?
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

Moderator Team Head


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

PostPosted: Tue Feb 17, 2009 6:53 pm    Post subject: Reply to: How to copy mutiply pds to mutiply pds in one step
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 7:43 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 17, 2009 7:47 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us