Perhaps the question should be: How do I get my program to run in PSW key 9? Other than the normal, privileged, SKPA instruction. Is the appropriate bit in CR3 (PKM portion) set to allow SPKA to set to key 9 by a problem state program? Doesn't appear to be. And I don't see a way to set the PKM in a normal, problem state, APF program. I thought MODESET might, but it doesn't. I guess that CICS does it via their magic SVC.
On Fri, 2011-11-04 at 18:40 -0400, Jim Mulder wrote: > > CICS uses a hardware facility called Storage Protection Override to > allow > > key 9 to store into key 8 (but not vice versa). This is enabled on CICS > > startup via a parm in the SIT. > > > > How can an APF-authorized program enable this same facility for itself? > > Can't seem to find a macro or equivalent. > > z/OS always turns on the CR0.39 bit to enable this facility. > You don't need to do anything to enable it. However, it does does > the opposite of what you think. The facility allows key 9 storage > to be fetched and stored using any PSW key. > > Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY > > ---------------------------------------------------------------------- > 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 -- John McKown Maranatha! <>< ---------------------------------------------------------------------- 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

