Steve,
here is some comment on SPKA (and IPK).
very useful for certain programs (URMs, exit, close to system) in CICS
since CICS/TS 1.1.
If a piece of storage that needs modification might be in CICS-key
storage and the code might run in user-key, the following sequence makes
a lot of sense.
* prepare CICS-key in Rx
IPK save current key in R2
SPKA 0(Rx) go into CICS-key
* perform modification
SPKA 0(R2) back into previous key
Sometimes there are other alternatives, but any other is
error-prone.
--
Martin
Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE
more at http://www.picapcpu.de