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

How to delete all members of pds


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

Active User


Joined: 15 Dec 2005
Posts: 271

PostPosted: Mon May 15, 2006 11:38 am
Reply with quote

Hi All,
Is there anyway to delete all members of pds by not specifying sysin statements more than one as specified below & I don't want to delete the PDS itself.
//STPE1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE AGNMUK.TEMP.JCL(SJCL)
DELETE AGNMUK.TEMP.JCL(REPRO)
........
.........
/*
Please reply,
Murali.
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Mon May 15, 2006 12:27 pm
Reply with quote

its better if u delete ur pds .


1. use Tso alloc new like(/) for creating a new pds with same attributes .
2. delete original pds
3 .then rename new pds it to original name .
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon May 15, 2006 1:48 pm
Reply with quote

Please search firtst. This has been discussed before here.
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 Duplicate several members of/in one l... JCL & VSAM 7
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top