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
 
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: 8646
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: 8646
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 load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
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

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