One place that MAY use it would JES2 for the SPOOL datasets.  Since all 
spool datasets have the same name, if JES2 had the ENQ on the dataset 
name, you would be unable to delete or create additional SPOOL datasets 
while JES2 is running. 

===============================================
Wayne Driscoll
OMEGAMON DB2 L3 Support/Development
wdrisco(AT)us.ibm.com
===============================================



From:
Paul Gilmartin <[email protected]>
To:
[email protected]
Date:
02/22/2010 04:29 PM
Subject:
Re: About ENQ - some basic questions
Sent by:
IBM Mainframe Discussion List <[email protected]>



On Tue, 23 Feb 2010 00:11:28 +0200, Binyamin Dissen wrote:
>
>:>>>> You may want to look into handling the ENQs yourself and not let 
SVC99 do
>:>>>> them.  Look at S99FLAG2 bit S99NORES.  This tells SVC99 to not do 
the
>:>>>> ENQ/DEQ.
>
>:>>> Unless I'm missing something, I hope this facility isn't
>:>>> available to nonauthorized callers.
>
>:>>You are correct it's not.
>
>:>Still, I'm trying to imagine what even an authorized program
>:>could usefully and safely do with a data set allocated with
>:>no ENQ, given that absent that ENQ any other program, even
>:>unauthorized, could make that data set, all its extents, and
>:>its DSCBs vanish without warning.
>
>:>Perhaps with a reserve on the VTOC(s)?
>
>You are aware, of course, that an authorized program can access the 
dataset
>without even going thru OPEN and without a single DD statement?
>
Of course.  I simply assume that an authorized program can
read the VTOC with EXCP.  Or write it.  (Someone must be
able to do it.)  Given that capability, what does SVC 99
with S99NORES avail.  I suppose catalog lookup.

-- gil

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



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

Reply via email to