> All three of the OP's scenarios involve the update of a PDS/Directory
> while the information in that PDS/Directory is in a state of flux.

I don't think so. How does the ongoing execution of a program from a STEPLIB
put its directory in a state of flux?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Staller, Allan
Sent: Monday, January 24, 2011 6:59 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Long-running jobs, PDS, and DISP=SHR

<snip>
I assume that the potential exposure in case 1 when adding as opposed 
to replacing a program is that the directory is in a state of flux 
involving moving entries from one block to the next (a replace would 
usually only rewrite a single block up update the TTR). I know that 
there is an EXC ENQ on a special Linkedit QNAME to serialize the 
updates but that only locks access to other linkedit/bind tasks).
</snip>

All three of the OP's scenarios involve the update of a PDS/Directory
while the information in that PDS/Directory is in a state of flux.
The enqueues/dequeues involved are designed to serialize the access so
that a "state of flux" is not possible for the duration of the update.

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