On 22 September 2015 at 12:25, Phil Smith <[email protected]> wrote:
> To find the TIOT, a colleague uses GETDSAB, then pulls DSABTIOT out of that. 
> I've always seen:
>          L     R3,540        Get TCB address
>          L     R3,12(,R3)    Get TIOT address
> ...which seems a tad bit mo' shorter :)
[...]
> So the real question: I expect GETDSAB is the documented interface, but is 
> the two-line approach common?
> Aside from theoretical changes, is there any reason not to use it?

The official way to do this "forever" has been the EXTRACT macro (and
resulting SVC). But certainly the direct reference to TCBTIO has been
in common use also roughly forever. But I see now that the EXTRACT
macro has a newish (z/OS 1.1) note warning that you might have to use
GETDSAB. Who'd a thunk it...

Tony H.

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

Reply via email to