Re: [EXTERNAL] Re: Deleting all members of a PDS
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) < Mainframe Systems Programmer – RavenTek Solution Partners -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Scott Barry Sent: Wednesday, July 11, 2018 1:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Deleting all members of a PDS On Wed, 11 Jul 2018 10:43:42 -0700, Sri h Kolusu 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 //SYSINDD * 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 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). -- John Eells IBM Poughkeepsie ee...@us.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: [EXTERNAL] Re: Deleting all members of a PDS
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) < Mainframe Systems Programmer – RavenTek Solution Partners -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Scott Barry Sent: Wednesday, July 11, 2018 1:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Deleting all members of a PDS On Wed, 11 Jul 2018 10:43:42 -0700, Sri h Kolusu 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 >//SYSINDD * > 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 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). Scott Barry SBBWorks, Inc. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: (External):Re: Deleting all members of a pds
Or, more recent versions of IDCAMS. - -teD - Original Message From: J O Skip Robinson Sent: Thursday, November 19, 2015 19:07 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: (External):Re: Deleting all members of a pds Can also be accomplished with PDS[85] command or StarTool product. . . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Thursday, November 19, 2015 3:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Deleting all members of a pds I have installed the CBTTAPE.ORG utility PDSCLEAN for both PDS and PDSE datasets an it works very well. File 693. Lizette -Original Message- >From: Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> >Sent: Nov 19, 2015 3:51 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Re: Deleting all members of a pds > >On 2015-11-19 14:54, Ed Finnell wrote: >> File 182 on CBT tape contains PDS command. It's a great tool. Can >> delete or delete by mask add space, copy, merge and fix. The >> commercial version is Startools from Serena. Has saved my bacon numerous >> times. >> > STOW DCB,,I > >I believe (or hope) PDS uses that nowadays, since its older technique, >basically zapping the directory, didn't work for PDSE. > >> In a message dated 11/19/2015 3:43:17 P.M. Central Standard Time, >> johnmattson...@gmail.com writes: >> >> Someone was asking about deleting all members of a pds. I just >> noticed that DFSort has a bunch of "samples" one of which includes >> how to use ICETOOL to delete all members of a PDS. Hope this helps. >> Lots of other neat things in here too. > >I hope it (and IDCAMS) uses STOW. Deleting members one-by-one can be expensive. >But if so, first sort in reverse order. > >I'm not going to measure timings > >-- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: (External):Re: Deleting all members of a pds
Can also be accomplished with PDS[85] command or StarTool product. . . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile jo.skip.robin...@sce.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Thursday, November 19, 2015 3:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Deleting all members of a pds I have installed the CBTTAPE.ORG utility PDSCLEAN for both PDS and PDSE datasets an it works very well. File 693. Lizette -Original Message- >From: Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> >Sent: Nov 19, 2015 3:51 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Re: Deleting all members of a pds > >On 2015-11-19 14:54, Ed Finnell wrote: >> File 182 on CBT tape contains PDS command. It's a great tool. Can >> delete or delete by mask add space, copy, merge and fix. The >> commercial version is Startools from Serena. Has saved my bacon numerous >> times. >> > STOW DCB,,I > >I believe (or hope) PDS uses that nowadays, since its older technique, >basically zapping the directory, didn't work for PDSE. > >> In a message dated 11/19/2015 3:43:17 P.M. Central Standard Time, >> johnmattson...@gmail.com writes: >> >> Someone was asking about deleting all members of a pds. I just >> noticed that DFSort has a bunch of "samples" one of which includes >> how to use ICETOOL to delete all members of a PDS. Hope this helps. >> Lots of other neat things in here too. > >I hope it (and IDCAMS) uses STOW. Deleting members one-by-one can be >expensive. >But if so, first sort in reverse order. > >I'm not going to measure timings > >-- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN