>SPKA TCBPKF You ought to read the principles of operation regarding the operand of the SPKA instruction. Setting the key to bits 24-27 of the address of TCBPKF is unlikely to produce the desired result.
If you don't have access to the PoOp, then get access but in the meantime use the macros, such as MODESET EXTKEY=ZERO,SAVEKEY=(2),WORKREG=4 to set the key to 0, while saving the current key in register 2 MODESET KEYREG=(2) to restore the key to what was saved in register 2 or, if you don't want to save the key but happen to know that the starting key is the TCB key, MODESET EXTKEY=TCB,WORKREG=4 which requires a using on the TCB to access the TCBPKF field. Also, if you must switch to key 0 supervisor state, you could consider MODESET MODE=SUP,KEY=ZERO and to switch back MODESET MODE=PROG,KEY=NZERO 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
