View previous topic :: View next topic
|
Author |
Message |
Meena Chandran
New User
Joined: 28 Dec 2007 Posts: 13 Location: Chennai
|
|
|
|
Hi,
I want to delete a list of members from a PDS. I wish to provide this list as a PS. Before deletion, wanted to take a backup of the members too.
Can anyone suggest how to do this?
Thanks. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
Before deletion, wanted to take a backup of the members too. |
Why not skip the unwanted members while taking backup? This should achieve the same for you right?
Look for IEBCOPY examples in the forum.
Quote: |
I wish to provide this list as a PS |
Code a small rexx to generate IEBCOPY EXCLUDE statement. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I would take a backup of ALL members before deleting anything, just to be safe |
|
Back to top |
|
|
Meena Chandran
New User
Joined: 28 Dec 2007 Posts: 13 Location: Chennai
|
|
|
|
Yeah you are rite. BUt, This is a kind of cleanup.. so i have to delete from a particular PDS..
For my future reference i wanna to take a backup in my PDS.
Since the list of members and the PDS may keep on change, i wish to list the members in a PS. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Allocate the backup PDS and then use LMMOVE for each member name present in your PS |
|
Back to top |
|
|
|