View previous topic :: View next topic
|
Author |
Message |
sudip_mitra
New User
Joined: 05 Apr 2006 Posts: 5 Location: India
|
|
|
|
Hi,
In my input PDS have 800 members. How can I copy first 100 members into newly created PDS and second 100 members i.e. 101 to 200 into another PDS.
Can I do it thru IEBCOPY. Looking for valuable response.
Thanks,
Sudip |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Did you try IEBCOPY? Then you get that bit answered.
Or you want to avoid typing 100 copy statements?
Little bit of rexx. Directory list. Generate required statements. Split the statements into 8 or 9 (unless you know enough rexx to do that already) with the editor. Put the statements inside JCL executing IEBCOPY. Submit.
Ask someone here to put the kettle on for you.
I'd backup the PDS first, if you are going to be deleting members from it and don't have a backup already. Never any fun to delete the "wrong" 100 members. Even less fun without a backup. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, you certainly want a backup - even if only for insurance.
Suggest you do not write into the original pds at all. . . |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Perhaps if you explained WHY you would need to do this, then perhaps someone could come up with an idea |
|
Back to top |
|
|
|