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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Can we delete more than 1 member at once from a pds using jc
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 26, 2009 2:49 pm    Post subject:
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    Post subject: Reply to: Can we delete more than 1 member at once from a pd
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 26, 2009 2:54 pm    Post subject:
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    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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm


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