Thank you

Sent from my iPhone

On Sep 10, 2013, at 7:34 AM, Peter Relson <[email protected]> wrote:

>>> So in other words STNSM AREA,X'FC' before
> 
>> That affects the PSW of the CPU your code is running on; it doesn't
>> disable or lock any other CPU.
> 
> True. But it does not need to. Disablement of "your" CPU is the 
> serialization that is required.
> 
>> And STOSM AREA,X'03'. After  <fixing typo>
> 
> This presumes that you were enabled for both interrupt types before the 
> STNSM.
> If you know that that is true, then this is fine.
> If it might be false, then this could be catastrophic to the system.
> An executed STOSM using the value saved on the STNSM (or an IF-test
> that uses X'03' if the saved mask was X'03' and does an executed STOSM if 
> not)
> is the fully safe method.
> 
> Be sure that your code and all your data are page-fixed if you are going 
> to disable.
> 
> Peter Relson
> z/OS Core Technology Design
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

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

Reply via email to