> btw: There was a time in ancient MVS history when the Class Locks
> Held field could be used for direct comparison to determine whether
> there were any higher locks held than the lock in question. That was
> all redesigned who-knows-when, so there is now no easy way (i.e., IBM
> programming interface) to see the lock hierarchy.

I seem to remember that too.

I just wrote a small program to test the case. First, I obtained CPU lock and 
tested for the CMS and got the lock available condition. I then, obtained TRACE 
and then SRM lock and tested for the CMS and again got the lock available 
condition. I was expecting what Binyamin was expecting due to the lock system 
being hierarchical.

I didn't want to get the hierarchy violation by obtaining  a lower one while 
higher one is held which will be abend073. My little test is telling me that I 
just can't ask for the CMS lock by testing CMS lock only. However, many other 
higher locks are not documented except in the SETLOCK macro itself.

What one must do to safely obtain the CMS or higher lock then release it? 

Sail Kim
Vanguard Research Institute, Inc.

PLEASE JOIN US AT OUR 21st ANNUAL
ENTERPRISE/RACF SECURITY TRAINING
CONFERENCE AND EXPOSITION!
June 10 - June 14, 2007
St. Louis, Missouri
Register Today www.go2vanguard.com/expo

thinkSecurity
thinkVanguard

This e-mail and any attachments are intended solely for the use of the 
addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If 
you are not the intended recipient of this e-mail, you are hereby notified that 
any dissemination of this e-mail or any attachments is strictly prohibited. If 
you have received this e-mail in error, please delete all copies of this e-mail 
and any attachments and notify the sender immediately. Thank you.

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