You might try using INFILE and specify a DD with DISP=SHR Or got cbttape.org and download PDSCLEAN - works great for PDS and PDS/E datasets
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On Behalf Of > Jesse 1 Robinson > Sent: Wednesday, July 11, 2018 10:16 AM > To: [email protected] > Subject: Deleting all members of a PDS > > While installing a new version of the PDS command-one that works on z/OS 2.3 > as previously discussed here-we need to empty existing libraries in order to > refill them with new members. Without a working PDS command, we had to find a > different way to accomplish FIXPDS RESETDIR. > > I finally remembered the relatively new DELETE pds-dsn(*), which accomplishes > the task nicely. However, like IDCAMS DELETE in general, my testing indicates > that it wants exclusive enqueue on the PDS. Not a problem for most PDS data > sets, but a link listed library must contend with XCFAS and LLA. I know that > both of those can be handled fairly easily, but I'm curious if there's some > additional keyword that will ignore the SHR enqueues. I have not found > anything. > > . > . > J.O.Skip Robinson > Southern California Edison Company > Electric Dragon Team Paddler > SHARE MVS Program Co-Manager > 323-715-0595 Mobile > 626-543-6132 Office <===== NEW > [email protected]<mailto:[email protected]> > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
