Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-24 Thread Wayne Bickerdike
I still use IEHPROGM to delete members of a PDS. Because I can... On Thu, Jul 23, 2015 at 7:49 AM, Paul Gilmartin 000433f07816-dmarc-requ...@listserv.ua.edu wrote: On 2015-07-22 14:46, John Eells wrote: The syntax is pretty clearly documented in Access Method Services... It is. I

Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread John Eells
ee...@us.ibm.com (John Eells) wrote: pinnc...@rochester.rr.com (Thomas Conley) wrote: snip I would recommend FIXPDS RESET, from the PDS package, file 182 on your cbttape dial, www.cbttape.org. It zeroes out the directory and makes it look like an empty PDS. So does IDCAMS DELETE these days

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Bob Rutledge
On 7/22/2015 3:59 PM, Paul Gilmartin wrote: On 2015-07-22 13:45, John Eells wrote: So does IDCAMS DELETE these days (I forget when we added this). Both likely use STOW INIT. Syntax? delete pds.name(*) That would appear to DELETE the entire library. But DELETE followed by reallocate

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Paul Gilmartin
On 2015-07-22 13:45, John Eells wrote: So does IDCAMS DELETE these days (I forget when we added this). Both likely use STOW INIT. Syntax? That would appear to DELETE the entire library. But DELETE followed by reallocate is certainly a valid approach. Why not? The guy who wrote the code

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Paul Gilmartin
On 2015-07-22 14:45, Chris Hoelscher wrote: An approach I have taken the past several years ... /* REXX */ /* DELETE ALL MEMBERS OF A GIVEN LIBRARY DSN */ /* TRACE 'R' */ /* TRACE 'O' */ Ouch! Are there errors you choose to have unreported? DSNAME = 'dataset name' DSN = STRIP(DSNAME,

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Pommier, Rex
DEL (*) gives invalid dataset name However: DEL /(*) gives me an empty PDS and IDC0553I ALL MEMBERS IN DATA SET RRP4912.TEMP.JCL DELETED In addition, it works on an empty PDS to free space (as I expected it to). Rex -Original Message- From: IBM Mainframe Discussion List

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Chris Hoelscher
An approach I have taken the past several years ... /* REXX */ /* DELETE ALL MEMBERS OF A GIVEN LIBRARY DSN */ /* TRACE 'R' */ /* TRACE 'O' */ DSNAME = 'dataset name' DSN = STRIP(DSNAME, 'BOTH', ) /* IN CASE IT'S IN QUOTES */ QUOTE = ' QDSN = QUOTE||DSN||QUOTE /* FULLY QUOTED DSN */

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Paul Gilmartin
On 2015-07-22 14:38, Bob Rutledge wrote: delete pds.name(*) Is there a non-assembler interface for this? Seems a good candidate for ISPF DSLIST. OK. TSO line command; nothing in ISPF DSLIST? Lately I asked here how I might coalesce data set extents (I've been using

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Paul Gilmartin
On 2015-07-22 14:46, John Eells wrote: The syntax is pretty clearly documented in Access Method Services... It is. I was mostly commenting on your brevity. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2i2a1/20.1.1?SHELF=all13be9DT=20120126090739CASE= Says: If you are

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread John Eells
000433f07816-dmarc-requ...@listserv.ua.edu (Paul Gilmartin) wrote: On 2015-07-22 13:45, John Eells wrote: So does IDCAMS DELETE these days (I forget when we added this). Both likely use STOW INIT. Syntax? That would appear to DELETE the entire library. But DELETE followed by

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Pommier, Rex
OK, poor choice of words, it doesn't free the space, it compresses it. Either way, I didn't know IDCAMS had been enhanced like this, so Thanks Steve! Rex -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Pommier, Rex Sent: Wednesday,

Re: Cleaning Out a PDS (Was Re: Library out of space issue while APPLY RSU)

2015-07-22 Thread Mike Schwab
On Wed, Jul 22, 2015 at 3:38 PM, Bob Rutledge deerh...@ix.netcom.com wrote: On 7/22/2015 3:59 PM, Paul Gilmartin wrote: deleted Lately I asked here how I might coalesce data set extents (I've been using HMIGRATE/HRECALL.) Someone said IBM supplies such a utility now. Google is not my friend