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
 

 

Copying members from one PDS to another PDS using batch JOB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Bhandari

New User


Joined: 02 Aug 2007
Posts: 3
Location: India

PostPosted: Fri Nov 16, 2007 8:46 pm    Post subject: Copying members from one PDS to another PDS using batch JOB
Reply with quote

Can any one please help me out in copying few or all the members from one PDS to another PDS using batch JOB only .
Back to top
View user's profile Send private message

Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Fri Nov 16, 2007 9:00 pm    Post subject:
Reply with quote

for copying all the members,

//COPY1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//FILE1 DD DSN=SOURCE.LIBRARY,DISP=SHR
//FILE2 DD DSN=NEW.LIBRARY,
// DISP=(,CATLG,DELETE),
// UNIT=PERM,SPACE=(CYL,(200,20,500),RLSE),
// DCB=(RECFM=U,DSORG=PO,BLKSIZE=0,LRECL=0)
//SYSIN DD *
COPY INDD=((FILE1,R)),OUTDD=FILE2
//*
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Fri Nov 16, 2007 9:00 pm    Post subject: Reply to: Moving members from one PDS to another PDS using b
Reply with quote

IEBCOPY is what you need to use.
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 Batch job tuning sgandhla Testing & Performance analysis 0 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm


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