MVS-recognized (AKA "legal") disablement means that you have a CPU lock, a
spin lock, or a super bit (bits in PSASUPER).
Since no spin locks are programming interfaces, nor is PSASUPER, that
basically leaves the CPU lock "for you".

As Jim Mulder correctly posted, if the system releases a spin lock or the
CPU lock and sees that the system is not legally disabled, it will enable
(i.e., not preserve your previous disablement state):
STNSM -- now disabled
SETLOCK OBTAIN,TYPE=CPU -- still disabled
SETLOCK RELEASE,TYPE=CPU -- now enabled

Similar processing occurs if you have an FRR. If you are not legally
disabled, RTM will give control to your FRR enabled (it does not matter if
the FRR is set before or after you illegally disable).
SETFRR ...
STNSM -- now disabled
blow up -- still disabled
FRR entry -- enabled

The cases where the system uses STNSM are typically those where it does not
mind ending up enabled if something bad/strange happens.

Peter Relson
z/OS Core Technology Design

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