Storage protection uses the key in the PSW. The key in the TCB is relevant when 
you use supervisor linkage, e.g., LINK, SYNCH.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Joseph Reichman <[email protected]>
Sent: Monday, January 27, 2025 8:37 AM
To: [email protected]
Subject: Re: Explanation of TCBPFK

External Message: Use Caution


It’s time to FESS up I got this running under TESTAUTH trying to implement TRAP2

I moved the address of the trap control block at X’2C’ bit 0 of this address 
was zero at bit 31 I turned that on to enable trap
I was in key zero supervisor state

Does it matter that the TCB it was running under had a TCBPFK of x’80’

Don’t expect too many people to know as it’s not something done everyday

But Binyamin seems to have run across almost everything

Thanks

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Binyamin Dissen <[email protected]>
Sent: Monday, January 27, 2025 8:31:09 AM
To: [email protected] <[email protected]>
Subject: Re: Explanation of TCBPFK

Strangely enough, PIC-5 was not wrapped into 0C4.

Of course, PIC-5 cannot occur with DAT (unless, I guess, the page or segment
table entry points to non-existant storage).


On Mon, 27 Jan 2025 11:33:42 +0000 Seymour J Metz <[email protected]> wrote:

:>To clarify, an S0C4 can have any of the interrupt codes 4, 10, 11, 2B, 38, 
39, 3A, 3B, and only 4 can relate to the protection key.
:>
:>Does anybody have any statistics on the relative frequencies of S0C4 IC 4 for 
key mismatch, fetch protect, low storage protect, page protect and segment 
protect?
:>
:>--
:>Shmuel (Seymour J.) Metz
:>http://mason.gmu.edu/~smetz3
:>??? ?????????? ???
:>?????? ??????????? ???? ??????????
:>
:>
:>
:>________________________________________
:>From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Seymour J Metz <[email protected]>
:>Sent: Sunday, January 26, 2025 10:07 PM
:>To: [email protected]
:>Subject: Re: Explanation of TCBPFK
:>
:>External Message: Use Caution
:>
:>
:>Way back in the dawn of history, IBM did something that appalled me, and you 
are the latest victim. While for other S0Cx ABENDs the last digit identifies 
the program interrupt code, for S0C4 there are multiple possible interrupt 
code, and 0004 is not the most common. Most likely you got a 0010 or 0011, or 
the Z equivalent.

--
Binyamin Dissen <[email protected]>
http://secure-web.cisco.com/1_cDH7-9mRssneWw2UNGcpFR2W70d775bjScx6eQ9rPtVj3gl8F_8lXFQ1sI0vxn0k9A00Ntz6NQhKoRdQuK5UKgtT_K51vIJmuE4V1o-tcypkfqW-rQUyx_9dmPdb8rJK_ES-O7ukB3EZWXwQ1JHCkaIJJ5bD2cUVzX7VYwL33OFg8jlaIv1oJkskseLVelJjKzcgxsLJ0F3zIx_UTzELm5jRWJXAYhn71dYkedDlu8SV8mvila85aL6CgdoMytHYQjycMWuOqErbN62LuVTZdquujCUFnGv0k1SKc3PuWOR9YPZ5u4BIbEbGYOeVQXG_jQtRkSn7Hgd-5mZI71_jdSZNXTjV8Wy4k5a5NWBNNxOzqC5SFahOY5Z9DysBtdmhrRiTwFDZVJtsN0nSOirSqHMgoMKi-n5q85B7fEcxwg/http%3A%2F%2Fwww.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

----------------------------------------------------------------------
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


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to