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

Can we delete more than 1 member at once from a pds using jc


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

New User


Joined: 31 Aug 2007
Posts: 5
Location: Mumbai

PostPosted: Fri Jun 26, 2009 2:47 pm
Reply with quote

Hi,
Can we delete more than 1 member at once from a pds using jcl. if yes then please let me know the logic.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jun 26, 2009 2:49 pm
Reply with quote

What logic do you use to delete one member at a time.
Back to top
View user's profile Send private message
Kumar Prabhat Ranjan

New User


Joined: 31 Aug 2007
Posts: 5
Location: Mumbai

PostPosted: Fri Jun 26, 2009 2:51 pm
Reply with quote

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT = *
//SYSIN DD *
DELETE Data-set-name(membername)
/*
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jun 26, 2009 2:54 pm
Reply with quote

DELETE Data-set-name(membernam1)
DELETE Data-set-name(membernam2)
DELETE Data-set-name(membernam3)
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 delete a user's alias from the... JCL & VSAM 11
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:

Back to Top