Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Deletion of Specific Members from PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Meena Chandran

New User


Joined: 28 Dec 2007
Posts: 13
Location: Chennai

PostPosted: Wed Sep 16, 2009 4:19 pm    Post subject: Deletion of Specific Members from PDS
Reply with quote

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
View user's profile Send private message

agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Wed Sep 16, 2009 4:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8620
Location: Back in jolly old England

PostPosted: Wed Sep 16, 2009 4:58 pm    Post subject:
Reply with quote

I would take a backup of ALL members before deleting anything, just to be safe icon_lol.gif
Back to top
View user's profile Send private message
Meena Chandran

New User


Joined: 28 Dec 2007
Posts: 13
Location: Chennai

PostPosted: Wed Sep 16, 2009 5:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Sep 16, 2009 6:15 pm    Post subject:
Reply with quote

Allocate the backup PDS and then use LMMOVE for each member name present in your PS
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us