Re: Deleting all members of a PDS

2018-07-12 Thread Seymour J Metz
ussion List on behalf of Hobart Spitz Sent: Wednesday, July 11, 2018 3:35 PM To: IBM-MAIN@listserv.ua.edu Subject: Re: Deleting all members of a PDS pipe listpds 'your.pds' | cons | chop 3 | insert /delete 'your.pds' / | tso | cons OREXXMan JCL is the buggy whip of 21st century computing. Sta

Re: Deleting all members of a PDS

2018-07-11 Thread Jesse 1 Robinson
Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ed Jaffe Sent: Wednesday, July 11, 2018 9:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Deleting all members of a PDS On 7/11/2018 7:04 PM, Jesse 1 Robinson wrote: > I originally recommen

Re: Deleting all members of a PDS

2018-07-11 Thread Ed Jaffe
On 7/11/2018 7:04 PM, Jesse 1 Robinson wrote: I originally recommended PDSCLEAN to my colleague who was doing the migration. Then realized that we don't have PDSCLEAN here; I was flashing back to my previous shop. Your previous shop?! How long ago was that? When we worked together back in

Re: Deleting all members of a PDS

2018-07-11 Thread Jesse 1 Robinson
To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Deleting all members of a PDS 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 Disc

Re: Deleting all members of a PDS

2018-07-11 Thread Jesse 1 Robinson
-MAIN@LISTSERV.UA.EDU] On Behalf Of Sri h Kolusu Sent: Wednesday, July 11, 2018 10:44 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Deleting all members of a PDS >>but I'm curious if there's some additional keyword that will ignore >>the SHR enqueues. I have not found anything.

Re: [EXTERNAL] Re: Deleting all members of a PDS

2018-07-11 Thread John Eells
ist [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 keyw

Re: Deleting all members of a PDS

2018-07-11 Thread Hobart Spitz
pipe listpds 'your.pds' | cons | chop 3 | insert /delete 'your.pds' / | tso | cons OREXXMan JCL is the buggy whip of 21st century computing. Stabilize it. Put Pipelines in the z/OS base. Would you rather process data one character at a time (Unix/C style), or one record at a time? IBM has been

Re: Deleting all members of a PDS

2018-07-11 Thread Paul Gilmartin
On Wed, 11 Jul 2018 14:59:15 -0400, Hobart Spitz wrote: >You're in TSO. Add this line, or equivalent, before the DELETE. > >listd 'your.pds' mem > What about the TOCTTOU hazard? -- gil -- For IBM-MAIN subscribe / signoff /

Re: Deleting all members of a PDS

2018-07-11 Thread Hobart Spitz
You're in TSO. Add this line, or equivalent, before the DELETE. listd 'your.pds' mem OREXXMan JCL is the buggy whip of 21st century computing. Stabilize it. Put Pipelines in the z/OS base. Would you rather process data one character at a time (Unix/C style), or one record at a time? IBM has

Re: [EXTERNAL] Re: Deleting all members of a PDS

2018-07-11 Thread Dyck, Lionel B. (RavenTek)
) < 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 memb

Re: Deleting all members of a PDS

2018-07-11 Thread Scott Barry
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

Re: Deleting all members of a PDS

2018-07-11 Thread Sri h Kolusu
>>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

Re: Deleting all members of a PDS

2018-07-11 Thread Lizette Koehler
018 10:16 AM > To: IBM-MAIN@LISTSERV.UA.EDU > 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

Deleting all members of a PDS

2018-07-11 Thread Jesse 1 Robinson
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

Re: Deleting all members of a pds

2015-11-23 Thread retired mainframer
> -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Sri h Kolusu > Sent: Monday, November 23, 2015 7:27 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Deleting all members of a pds > > Yes DFSORT does allow

Re: Deleting all members of a pds

2015-11-23 Thread Paul Gilmartin
On Mon, 23 Nov 2015 11:10:23 -0800, retired mainframer wrote: >> -Original Message- >> From: Sri h Kolusu >> Sent: Monday, November 23, 2015 7:27 AM >> >> Yes DFSORT does allow comments. > > > >Considering how well this is documented in the Application Programming >Guide, your forbearance

Re: Deleting all members of a pds

2015-11-23 Thread Sri h Kolusu
t;000433f07816-dmarc-requ...@listserv.ua.edu> > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 11/20/2015 12:34 PM > Subject: Re: Deleting all members of a pds > Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > Re: https://listserv.ua.edu/cgi-bin/wa?A2=in

Re: Deleting all members of a pds

2015-11-22 Thread Peter Van Dyke
" "LMMLIST DATAID("fdtid") MEMBER(MEMNM)" >cc = rc > End > Address "ISPEXEC" "LMCLOSE DATAID("fdtid")" > Address "ISPEXEC" "LMFREE DATAID("fdtid")" > > Ren > Ext 1448 > > -Original Mess

Re: Deleting all members of a pds

2015-11-20 Thread Brenton, Ren
Address "ISPEXEC" "LMFREE DATAID("fdtid")" Ren Ext 1448 -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Elardus Engelbrecht Sent: Friday, November 20, 2015 7:59 AM T

Re: Deleting all members of a pds

2015-11-20 Thread Brenton, Ren
Forgot the initial CC = 0 line some where before line 4 Ren Ext 1448 -Original Message- From: Brenton, Ren Sent: Friday, November 20, 2015 9:37 AM To: 'IBM Mainframe Discussion List' <IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: Deleting all members of a pds Address "ISPEXEC"

Re: Deleting all members of a pds

2015-11-20 Thread Sri h Kolusu
From: Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> To: IBM-MAIN@LISTSERV.UA.EDU Date: 11/19/2015 05:30 PM Subject: Re: Deleting all members of a pds Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On 2015-11-19 15:04, R.S. wrot

Re: AW: Re: Deleting all members of a pds

2015-11-20 Thread Elardus Engelbrecht
Peter Hunkeler wrote: >>(Had you come to SHARE, you might have known that--hint, hint. ;-) >Re: hint, hint, John, would you find some time to convince our upper level >management of many companies of the value of SHARE, etc? Hint, hint - the rarity of money beats the value of SHARE by a full

AW: Re: Deleting all members of a pds

2015-11-20 Thread Peter Hunkeler
>(Had you come to SHARE, you might have known that--hint, hint. ;-) Re: hint, hint, John, would you find some time to convince our upper level management of many companies of the value of SHARE, etc? Sorry, could not resist. -- Peter Hunkeler

Re: Deleting all members of a pds

2015-11-20 Thread John Eells
For the curious, IDCAMS does indeed use STOW (with I) to delete all the members of a PDS or PDSE. This is not only fast, but it eliminates any need to compress a PDS afterward. (Had you come to SHARE, you might have known that--hint, hint. ;-) Also, this function has been available since z/OS

Re: Deleting all members of a pds

2015-11-20 Thread Paul Gilmartin
On Fri, 20 Nov 2015 08:11:08 -0700, Sri h Kolusu wrote: >>>I looked at that. It builds a list of IDCAMS commands to delete the >members one-by-one. > >Well the deletion of all members of a PDS DFSORT trick is written when >IDCAMS did not support the Wild card deletion function on PDS members.

Re: Deleting all members of a pds

2015-11-20 Thread Tom Marchant
On Fri, 20 Nov 2015 08:11:08 -0700, Sri h Kolusu wrote: Does it at least sort the list in descending order? > >Descending order of what? member names or Size? Why exactly do you need to >sort the list ? Do you think it would make a difference to the directory >blocks? Member names. The

Re: Deleting all members of a pds

2015-11-20 Thread Paul Gilmartin
On Fri, 20 Nov 2015 06:58:42 -0500, John Eells wrote: >For the curious, IDCAMS does indeed use STOW (with I) to delete all the >members of a PDS or PDSE. This is not only fast, but it eliminates any >need to compress a PDS afterward. (Had you come to SHARE, you might have >known that--hint, hint.

Re: Deleting all members of a pds

2015-11-20 Thread retired mainframer
> -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Paul Gilmartin > Sent: Friday, November 20, 2015 8:58 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Deleting all members of a pds > > When better tec

Re: Deleting all members of a pds

2015-11-20 Thread Sri h Kolusu
@LISTSERV.UA.EDU > Date: 11/20/2015 09:55 AM > Subject: Re: Deleting all members of a pds > Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > On Fri, 20 Nov 2015 08:11:08 -0700, Sri h Kolusu wrote: > > >>>>Does it at least sort the lis

Re: Deleting all members of a pds

2015-11-20 Thread Paul Gilmartin
Re: https://listserv.ua.edu/cgi-bin/wa?A2=ind1511=ibm-main=R37953&1=ibm-main&9=A=-3=on=C539315E5DAE4A6734=PaulGBoulder%40AIM.COM=No+Match%3BMatch%3BMatches=4 On Fri, 20 Nov 2015 10:51:04 -0800, retired mainframer wrote: > > >> When better techniques become available, perhaps the inferior ones

Re: (External):Re: Deleting all members of a pds

2015-11-20 Thread Ted MacNEIL
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

Re: (External):Re: Deleting all members of a pds

2015-11-19 Thread J O Skip Robinson
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

Re: Deleting all members of a pds

2015-11-19 Thread Paul Gilmartin
On 2015-11-19 15:04, R.S. wrote: > W dniu 2015-11-19 o 22:42, John Mattson pisze: >> 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

Re: Deleting all members of a pds

2015-11-19 Thread Lizette Koehler
DU >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

Deleting all members of a pds

2015-11-19 Thread John Mattson
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. http://www-01.ibm.com/support/docview.wss?uid=is

Re: Deleting all members of a pds

2015-11-19 Thread Ed Finnell
...@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

Re: Deleting all members of a pds

2015-11-19 Thread Graham Harris
, John Mattson <johnmattson...@gmail.com> wrote: > 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

Re: Deleting all members of a pds

2015-11-19 Thread Paul Gilmartin
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 o

Re: Deleting all members of a pds

2015-11-19 Thread R.S.
W dniu 2015-11-19 o 22:42, John Mattson pisze: 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

Re: Deleting all members of a pds

2015-11-19 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >I looked at that. It builds a list of IDCAMS commands to delete the members >one-by-one. Obsolete by now. > Does IDCAMS DELETE DATA.SET.NAME(*) Yes, it is documented "If you specify the entryname in the format of a partition data set, pdsname(*), the command deletes