Edward you are very smart by rote I always XC the SRB block Thanks for making me aware
Sent from my iPhone > On Jun 23, 2015, at 10:24 AM, Ed Jaffe <edja...@phoenixsoftware.com> wrote: > >> On 6/22/2015 10:48 PM, Elardus Engelbrecht wrote: >> michelbutz wrote: >> >>> I always assumed SRB's run PSW key 0 supervisor state >> No disrespect, but on what reason or environment is your assumption based? >> >> This is IMHO a dangerous assumption, unless you know something the rest of >> us don't know. > > SRB routines are *always* given control in supervisor state. In fact, they > are not allowed to leave supervisor state. > > An SRB's execution key is controlled by the SRBPKF setting in the SRB control > block. If you didn't know about or have never set this field then, assuming > you clear your 44-byte SRB control block to zeros before filling it in, your > SRB will execute in key zero. > > This is all fully documented. There is no need for assumptions. > > -- > Edward E Jaffe > Phoenix Software International, Inc > 831 Parkview Drive North > El Segundo, CA 90245 > http://www.phoenixsoftware.com/ > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN