The storage keys exceptions are determined during the process of executing the specific instruction. The value of PSW key at any time prior to the specific instruction being executed is not relevant.
On Fri, Apr 20, 2012 at 2:19 PM, Micheal Butz <[email protected]>wrote: > Hi, > > > > Was wondering If someone could clear up some things for me > > > > > > A S0C4 reason code 4 means the storage key and the PSW key don't match > typically trying to access storage key 0 when the PSW key is key 8 > > > > Two questions arise from this > > > > . Does it matter what the PSW key at the time of the STORAGE OBTAIN > was e.g. > > > > > > 1. Obtaining storage from subpool 0 where the storage key is 8 and > PSW > key at the time for what ever reason was in KEY 0. > Would I have to set the PSW Key to 0 if I were trying to access that > storage later on say while running in some other task because when I did > the > STORAGE OBTAIN the PSW KEY 8 - 11 was 0 > > > > 2. The same situation would be then true if access CSA storage > subpool > 241 with Key=8 ( Iknow a no no) but the PSW KEY was 0. Later on when trying > to access/modify the storage would I have to set PSW key 8 - 11 have to be > 0 > > > > > > > . Of what significance does is the key the TCB (TCBPKF) since it > seems only PSW KEY 8 - 11 and the key the page of the storage is seems to > be > relevant > > > > > > Thanks > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

