In <[email protected]>, on 05/26/2013
   at 06:08 PM, Charles Mills <[email protected]> said:

>> you need to save the key prior to the MODESET KEY=ZERO invocations

>Are you sure? 

Yes.

>MODESET KEY=NZERO,... won't "remember" for you?

The crystal ball on channel 3 is broken. From z/OS MVS Programming:
Authorized Assembler Services Reference, Volume 3 (LLA-SDU).
SA22-7611-11: 

   KEY=NZERO
       Specifies that the PSW key (bits 8-11) is to be either set to
zero
       (ZERO) or set to the value in the caller's TCB (NZERO).

If the code switches among multiple keys, MODESET has no information
on the preceding key. Now, there are options in the inline form to
save and restore, but Scott is using the SVC form.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2        <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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

Reply via email to