> Or must I roll my own?
> 
> I want to access data in a linkage stack entry a few back (supervisor
> state routine).

There is no IBM-supplied DSECT for the linkage stack, but the stack
format is described in detail in PoPs. While a unit of work is
dispatched, CR15 has the virtual address of the last 8 bytes of the
"current" stack entry, but that might or might not be a valid stack
entry and in the latter case, the backward chaining feature might not
lead you anywhere.

You need to understand a lot about how z/OS uses the linkage stack to
have any chance of actually navigating it successfully. The full
treatment of the stack is OCO and (trust me) it doesn't always adhere to
the description in PoPs.

CC

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to