IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Copy multiple members from one PDS into New PDS


 
IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Fri Sep 13, 2013 1:56 am
Reply with quote

Hi All,

I got to copy like 200+ members from PDS to another PDS, The member names dont follow any particular pattern. I have the list of members in a seperate file - Looking out to hear about what would be the easiest way ?
Back to top
View user's profile Send private message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Fri Sep 13, 2013 2:11 am
Reply with quote

To be precise how to allocate multiple members in PDS.. I could then do a repro to copy them all *-)
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Fri Sep 13, 2013 2:37 am
Reply with quote

Undoubtedly, you will want to use a tool (your sort product, Rexx, etc.) to fabricate IEBCOPY control cards and then submit a job running IEBCOPY.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2431
Location: Hampshire, UK

PostPosted: Fri Sep 13, 2013 1:04 pm
Reply with quote

200 members? You can do it in 3.3 faster than you could write a 'tool'. What's more, if those members represent more than 50% of the total members then it is more efficient to copy the lot and delete the ones you do not need in the new PDS.
Back to top
View user's profile Send private message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 69
Location: 125.16.180.5

PostPosted: Tue Sep 17, 2013 9:29 pm
Reply with quote

Thank you for the response Nic Clouston and Akatsukami and time.

I later copied the entire PDS and removed the unwanted members icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Creating a single-record file with CO... DFSORT/ICETOOL 8
No new posts Read 4MB message and split into multi... COBOL Programming 9
No new posts Members search in PDS JCL & VSAM 9
No new posts Multiple Sums in one File SYNCSORT 2
No new posts Retrieve multiple records with metaco... CA Products 0

Back to Top