IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete PDS members from a list ?


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

New User


Joined: 28 Dec 2006
Posts: 80
Location: France

PostPosted: Fri Jul 27, 2007 12:12 am
Reply with quote

How to delete PDS members from a list ?

The list is created before in a PS file.

Ex :
PS file contains (records)
M1
M2
M5
M7
...

and PDS file contains following members
M1
M2
M3
M4
M5
M6
M7
...

After delete, the PDS must contain :
M3
M4
M6
...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 27, 2007 1:17 am
Reply with quote

You could easily use a REXX exec.

Read the file and use IDCAMS to delete the members.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Duplicate several members of/in one l... JCL & VSAM 7
Search our Forums:

Back to Top