Copy a list of members of a pds to another pds



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Copy a list of members of a pds to another pds

Postby hjyoungii » Wed Sep 30, 2009 1:25 am

I have 2 PDS's one is a test PDS and the other is a Production PDS. A list of the members that need to be copied is stored in a sequential file.

1) Need to copy the Production version to a temp PDS (already created)
2) delete the ones out of the Production that is in the list
3) copy the ones in the list from test to production.

Thanks,
hjyoungii
 
Posts: 9
Joined: Wed Jun 25, 2008 6:42 pm
Location: Des Moines, IA
Has thanked: 0 time
Been thanked: 0 time

Re: Copy a list of members of a pds to another pds

 

Re: Copy a list of members of a pds to another pds

Postby dick scherrer » Wed Sep 30, 2009 2:00 am

Hello,

Suggest you generate 2 sets of control statements from the entries in the sequential file.

One set of control statements would be to copy each member (this could be used for the first and last process).

The other would be to do the deletes.

Suggest you back up the Production PDS before doing anything else.

If there are questions or problems, post what you have done the question/problem encountered.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post