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

Senior Member


Joined: 08 May 2006
Posts: 1002
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: 8620
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 Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am

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