> -----Ursprungligt meddelande-----
> Från: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] För Paul
> Gilmartin
> Skickat: den 1 juli 2010 18:26
> Till: IBM-MAIN@bama.ua.edu
> Ämne: Re: SV: Delete all members of a PDS that is allocated
> 
> On Wed, 30 Jun 2010 17:51:40 +0200, Thomas Berg wrote:
> 
> >When I have needed to compress a PDS that was in frequent/continuous use,
> >e g a target load library in test env, I use a command/rexx that submits
> >a job which begins with submitting another job that has the pds allocated
> >with DISP=OLD.  This as a way to "shut the door" behind.  Then it waits
> >typically 30 seconds where after it starts the compress (w DISP=SHR).
> >And in the last step cancels the "shut the door" job and ends.
> >Something along this could be used as a way to minimize problems when
> >deleting members.
> >I have never had any problems with this approach.
> >
> You're lucky.  It will also "shut the door" on jobs that have the
> data set open, and have done BLDLs, and may subsequently use TTRs
> that point to trash.

How ?  The "shut the door" job is *waiting* for EXCL ENQ (OLD). 


 
Regards, 
Thomas Berg 
_________________________________________ 
Thomas Berg   Specialist   A M   SWEDBANK 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to