Page 1 of 2

splitting the PDS members

PostPosted: Wed Jun 20, 2012 11:49 am
by jvinoth
Is it possible to Split the PDS members into separate PDS based on the numbers given.
master PDS   
        mem-1
   Mem-2
   Mem-3
   Mem-4
   Mem-5
   Mem-6

chile PDS1
   Mem-1
   Mem-2
chile PDS2
   Mem-3
   Mem-4
chile PDS3
   Mem-5
   Mem-6

please tell me how to achieve this.

Thanks.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 12:09 pm
by NicC
What 'numbers'?

If you need to copy/move members to different PDS's then you code it, possibly by hand. There is nothing, that I know of, that can process the first x members, the next y members etc. You could write a rexx program to do this but it would take longer to do so than to actually accomplish the task by hand.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 1:15 pm
by jvinoth
limit for example by 2 members shoud be in each child pds..manually we can do if its less number of members.suppose if we have more than 30000 members in a pds what to do..nicc

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 1:49 pm
by jaggz
Hi,

If your site allows using PDS2PDS software then it should be easy, but good to try with IEBCOPY though.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 2:39 pm
by jvinoth
but IEBCOPY will merge the all contents of the members into single ps.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 3:46 pm
by jaggz
IMHO IEBCOPY can be used to perform several functions on a PDS. It can Copy, Merge, Compress, Backup and Restore PDS datasets. When we use IEBCOPY, we must supply the COPY control statement to indicate the Input and Output datasets.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 4:06 pm
by jvinoth
we can use IEBCOPY also..

//SYSIN    DD *                 
  COPY OUTDD=DDOUT,INDD=DDIN     
  SELECT MEMBER=(member1,member2)             
/*                               


suppose if i need to give more than 200 members means do i need to give all the member names.please tell me is there any other way to specify the members in terms of numbers.. like first 200 members than from 201 to 300 like wise.

thanks for your response.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 4:47 pm
by Akatsukami
jvinoth wrote:limit for example by 2 members shoud be in each child pds..manually we can do if its less number of members.suppose if we have more than 30000 members in a pds what to do..nicc

And where will you be getting the new PDS names from?

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 4:52 pm
by jvinoth
i have doubt in that only how to give the pds names and the member list.can we give multilple ddin names.

Re: splitting the PDS members

PostPosted: Wed Jun 20, 2012 4:53 pm
by mongan
You are asking a question without giving any real facts of exactly what you want to achieve. There is no way a pattern can be determined in what you have presented. The only answer you can get is no, logic of any kind has to be programmed, even if using a utility like sort you still have to come up with the logic to use in the control cards.