Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 685
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: 8593
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 split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am
No new posts insert the same records but chancing ... danylele74 DB2 6 Mon May 02, 2016 7:22 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us