Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 it is possible output a SET value fro... Martylin JCL & VSAM 4 Fri Sep 22, 2017 7:08 am
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us