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
 
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: 4650
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 Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm

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