This is the client side of an API which is going to do a PC to a started
task. It can be called from "plain" code, or on occasion from a DB2 user
exit. I want to know if it's a user exit, hence I'm testing the key. If
"non-system key" is the real answer, then yeah, the IPK approach looks a
bit better.


On Sat, Dec 28, 2013 at 12:03 PM, Binyamin Dissen <
[email protected]> wrote:

> On Fri, 27 Dec 2013 18:31:17 -0500 zMan <[email protected]> wrote:
>
> :>Is there a simpler way to see whether we were called in key 8 (not that
> :>this is that complicated):
>
> :>         EPSW  R14,R0        Extract PSW
> :>         SLL   R14,8         Get key bits in left-most nibble
> :>         SRL   R14,28        Now isolate in bottom nibble
> :>         CFI   R14,8         Are we in key 8??
>
> What is being called? PC? SVC? Simple subroutine?
>
> --
> Binyamin Dissen <[email protected]>
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
zMan -- "I've got a mainframe and I'm not afraid to use it"

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

Reply via email to