Beesley, Paul wrote:
I have been using the PDSCLEAN program from the CBT tape file 693 for a while 
and think it’s great, but have a quick question.
Is there an issue using this on PDSEs in the Linklist?
On 2 occasions now I have used it to zero a linklisted PDSE (Compuware’s 
SLCXLOAD if it’s important, and on a test system, I hasten to add) with the 
intention of copying in some maintenance from the SMPE version and it has been 
unsuccessful.
The report says the PDSE has been cleared, and indeed there are 0 members, 
however an ISPF 3.4 display shows that the percentage used hasn’t gone down 
from the original 67% used. I tried the process on a copy of the PDSE and it 
worked fine … 0 members and 0% used. I can only assume it’s because LLA has 
hold of it or something.

( I did sent the above to the author but the email bounced back)

I don't know the answer to your question, since I have always avoided updating any data set in a live link list (smile). If the data set is open, though, I would not be surprised if the PDSE code did not release the space until everyone had closed it. (I'd actually be surprised if it did not behave that way, but I have been surprised before.)

However, the real reason for this post is not to speculate, but to make sure everyone knows they can use IDCAMS to delete all members of a PDSE or PDS on any supported release of z/OS (ever since z/OS V1.12, in fact). I believe the syntax is:

   DELETE (DATA.SET.NAME(*))

This deletes all members and reinitializes the directory, so there is no need to compress a PDS afterward.

--
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

Reply via email to