Re: How to enable Storage Protection Override?

2011-11-09 Thread Ed Gould
Tony, This brings back old memories, it is also interesting, IMO. Way back just before MVS came out. We were looking into getting performance numbers. If you can remember back in MVT days each job ran in it's own protect key (1-15 if memory serves me). we had purchased a hardware monitor that

Re: How to enable Storage Protection Override?

2011-11-09 Thread Lindy Mayfield
Could this be done somehow when z/OS is running as a z/VM guest? -Original Message- On older hardware consoles it was easy to configure a display of CPU activity by key. On really old hardware (370/168 and the like), one could turn a knob to one of 17 positions, and see total usage, or

Re: How to enable Storage Protection Override?

2011-11-09 Thread Tony Harminc
On 9 November 2011 08:30, Rob Scott wrote: > My own reference list for key assignments : > >        0       Supervisor >        1       JES >        2       Reserved* (used to be VSPC) >        3       Reserved* >        4       Reserved* >        5       Data management (eg DFP) >        6      

Re: How to enable Storage Protection Override?

2011-11-09 Thread Shmuel Metz (Seymour J.)
In <295ed806ab479944b1217cc84a173de012a69...@nwt-s-mbx1.rocketsoftware.com>, on 11/09/2011 at 01:30 PM, Rob Scott said: > 6 VTAM and TCAM TIOC and VTIOC for TSO. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: How to enable Storage Protection Override?

2011-11-09 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Lindy Mayfield > Sent: Wednesday, November 09, 2011 6:47 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: How to enable Storage Protection Override? > > I love fol

Re: How to enable Storage Protection Override?

2011-11-09 Thread Rob Scott
Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Lindy Mayfield Sent: 09 November 2011 12:47 To: IBM-MAIN@bama.ua.edu Subject: Re: How to enable Storage Protection Override? I love following these discussions, though I don't use this stuff a

Re: How to enable Storage Protection Override?

2011-11-09 Thread Lindy Mayfield
ssage- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Peter Relson Sent: Wednesday, November 09, 2011 2:25 PM To: IBM-MAIN@bama.ua.edu Subject: Re: How to enable Storage Protection Override? >UserKey 9 can write into CICSKey 8? that cannot be correct as all DFH

Re: How to enable Storage Protection Override?

2011-11-09 Thread Peter Relson
>UserKey 9 can write into CICSKey 8? that cannot be correct >as all DFH modules would be up for overwriting. Where >would integrity be? FWIW, "system integrity" is not a factor since in the CICS case the key 9 user has permission to get into key 8 and do whatever a key 8 user can do. Reliabili

Re: How to enable Storage Protection Override?

2011-11-08 Thread Jim Mulder
IBM Mainframe Discussion List wrote on 11/05/2011 11:13:29 PM: > But apparently I should be able to freely switch between keys 8 & 9 > using the SPKA instruction. I'm still not sure that is documented as > GUPI or not. Yes, I'm a PITA about some of these things. "Once burned, > twice shy." Si

Re: How to enable Storage Protection Override?

2011-11-08 Thread Phil Smith III
Pearce, Colin E wrote: >UserKey 9 can write into CICSKey 8? that cannot be correct as all DFH modules would be up for overwriting. Where would integrity be? >Key 9 is the Open key, in that any transaction running in any other key can write into Key 9, but NOT the other way round. >S0C4 wi

Re: How to enable Storage Protection Override?

2011-11-08 Thread Pearce, Colin E
Colin Pearce -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Phil Smith III Sent: Saturday, November 05, 2011 4:53 AM To: IBM-MAIN@bama.ua.edu Subject: How to enable Storage Protection Override? CICS uses a hardware facility called

Re: How to enable Storage Protection Override?

2011-11-07 Thread Phil Smith III
We solved this. Our calling sequence is somewhat complex: our processing is going to block, so we need to get off the QR. So we have a two-level call: the user transaction calls our first-level program, which does an EXEC CICS LINK to the second-level program, which is defined OPENAPI and THREADSAF

Re: How to enable Storage Protection Override?

2011-11-07 Thread Bill Fairchild
so I don't have to remember to code all the EQU statemetns, inter alia. Bill Fairchild -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Bill Hecox Sent: Monday, November 07, 2011 6:26 AM To: IBM-MAIN@bama.ua.edu Subject: Re: H

Re: How to enable Storage Protection Override?

2011-11-07 Thread Bill Hecox
>But apparently I should be able to freely switch between keys 8 & 9 >using the SPKA instruction. I'm still not sure that is documented as >GUPI or not. Yes, I'm a PITA about some of these things. "Once burned, >twice shy." If you are going to use the SPKA instruction, read the fine print. 'SPKA

Re: How to enable Storage Protection Override?

2011-11-06 Thread Peter Relson
I believe it has been answered "you do not need to enable it, it is always enabled by z/OS" on all machines that support it (which is all machines on which z/OS runs). As with many queries, it would help to understand what you are trying to accomplish, because perhaps use of key 9 is not someth

Re: How to enable Storage Protection Override?

2011-11-06 Thread Binyamin Dissen
On Sat, 5 Nov 2011 22:13:29 -0500 John McKown wrote: :>On Sat, 2011-11-05 at 18:43 -0400, Jim Mulder wrote: :> :>> Let me reword that to say "in the environments where problem state :>> application code would be running" instead of "in most cases". :>> The documentation is under the KEY and

Re: How to enable Storage Protection Override?

2011-11-05 Thread John McKown
On Sat, 2011-11-05 at 18:43 -0400, Jim Mulder wrote: > Let me reword that to say "in the environments where problem state > application code would be running" instead of "in most cases". > > The documentation is under the KEY and PKM parameter > descriptions on the ATTACHX macro in Authorize

Re: How to enable Storage Protection Override?

2011-11-05 Thread Edward Jaffe
On 11/5/2011 4:38 AM, John McKown wrote: 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

Re: How to enable Storage Protection Override?

2011-11-05 Thread Jim Mulder
> IBM Mainframe Discussion List > > On Sat, 2011-11-05 at 14:11 -0400, Jim Mulder wrote: > > > 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 SP

Re: How to enable Storage Protection Override?

2011-11-05 Thread John McKown
On Sat, 2011-11-05 at 14:11 -0400, Jim Mulder wrote: > > 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 pro

Re: How to enable Storage Protection Override?

2011-11-05 Thread Jim Mulder
> 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 th

Re: How to enable Storage Protection Override?

2011-11-05 Thread Binyamin Dissen
On Fri, 4 Nov 2011 16:53:09 -0400 Phil Smith III wrote: :>CICS uses a hardware facility called Storage Protection Override to allow :>key 9 to store into key 8 (but not vice versa). The opposite. All PSW keys match key 9. :>This is enabled on CIC

Re: How to enable Storage Protection Override?

2011-11-05 Thread Binyamin Dissen
On Sat, 5 Nov 2011 09:18:33 -0500 Bill Hecox wrote: :>You can use MODSET KEY=ZERO to put yourself in KEY0. Then you can modify any storage you have access to :>which includes the operating system. This can be dangerous. If you modify the wrong area of memory you can cause other programs to fa

Re: How to enable Storage Protection Override?

2011-11-05 Thread John McKown
"Get thee behind me, Satan!" I'm willing to write APF code, if absolutely necessary. But I never fiddled with control blocks other than via an IBM supplied API type interface. I know that vendors sometimes must do such things. But I find it very scary. On Sat, 2011-11-05 at 09:18 -0500, Bill He

Re: How to enable Storage Protection Override?

2011-11-05 Thread Bill Hecox
You can use MODSET KEY=ZERO to put yourself in KEY0. Then you can modify any storage you have access to which includes the operating system. This can be dangerous. If you modify the wrong area of memory you can cause other programs to fail and they will have a difficult time figuring out what

Re: How to enable Storage Protection Override?

2011-11-05 Thread John McKown
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

Re: How to enable Storage Protection Override?

2011-11-04 Thread Jim Mulder
> 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 equiva

Re: How to enable Storage Protection Override?

2011-11-04 Thread Phil Smith III
I 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 equi

How to enable Storage Protection Override?

2011-11-04 Thread Phil Smith III
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.