If a user logs on, it is JES2 that reads the logonproc from PROCLIB, which it 
already has allocated (as you mentioned). Kind of a chicken and egg problem: 
how can a user logon without having read the logonproc?
Kees.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Roger Steyn
Sent: 19 July, 2016 11:25
To: [email protected]
Subject: Re: Exclusive ENQ on a TSO logon procedure

There is a big difference between a job allocating a proclib with DISP=OLD and 
a user editing a logonproc with ISPF. 
 
The job with DISP=OLD blocks the entire proclib. 
 
ISPF issues an ENQ with DISP=SHR on the proclib and issues its own      ENQ on 
the member with DISP=OLD. This way the library is available for other task with 
DISP=SHR, but the member (logonproc) is exclusively in use by the ISPF user. 
 
This works this way for decades already. 


Well ... Let me put the scenario a bit more clear 

a) User A goes and edits the logon procedure in ISPF and doesn't come out of 
edit mode .
b) User B submits a Job xxxx with SYS1.PROCLIB containing the logon proc with 
DISP=OLD 

Then the job xxxx waits for an exclusive access for SYS1.PROCLIB which never 
gets satisfied as the proclib is already allocated with DISP=SHR by many things 
including JES2 -  This is normal 

Now , my understanding is - At this point , if a USER C tries to logon to the 
system using the same logon procedure in SYS1.PROCLIB , he shouldn't be able to 
as GRS has another Exclusive ENQ request waiting from the job xxxx submitted by 
User B . Shouldn't that be honored before allowing others to access the proclib 
irrespective of DISP=SHR ?

TIA 

Roger Steyn 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************
                        


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to