What Sri Hari suggested will do that, too. I would guess that both of them just use STOW ,,I to re-initialize the directory.

Dyck, Lionel B. , RavenTek wrote:
I don't know if this has been suggested but using StarTools or the PDS (cbt 
file 182) command:

FIXPDS RESET

Will both delete all members and reset the PDS so it doesn't need to be 
compressed.

--------------------------------------------------------------------------
Lionel B. Dyck (Contractor)  <sdg><
Mainframe Systems Programmer – RavenTek Solution Partners

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Barry
Sent: Wednesday, July 11, 2018 1:56 PM
To: [email protected]
Subject: [EXTERNAL] Re: Deleting all members of a PDS

On Wed, 11 Jul 2018 10:43:42 -0700, Sri h Kolusu <[email protected]> wrote:

but I'm curious if there's some additional keyword that will ignore the
SHR enqueues. I have not found anything.

Skip,

You need to use FILE keyword on IDCAMS delete like shown below

//DELALL   EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//PDS      DD DISP=SHR,DSN=Your.PDS
//SYSIN    DD *
  DELETE 'Your.PDS(*)' FILE(PDS)
/*

Thanks,
Kolusu



With the use of "splat" and "delete all members" request, sadly the IDC0553I message doesn't 
provide a list of the members deleted, instead only mention "ALL MEMBERS IN DATA SET <name> 
DELETED".

Now no Auditor-type would go for that -- heck, I even would appreciate knowing 
what I just deleted !!

Still like the enhanced functionality permitting various DSN-mask 
specifications, similar to TSO/ISPF DSLIST (option 3.4).
<snip>
--
John Eells
IBM Poughkeepsie
[email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to