The forward save area chain is not necessarily maintained. LE maintains it
some of the time, other times its used as a flag ("DEAD"). Current program
back to TCBFSA is easier and more reliable. XPLINK can be discerned by adding
the stack element length to the current stack element address to find the next
element (previous program). IMS has a "prechained" save area set which TCBFSA
points to, BUT the save areas are not necessarily used in order. If you're not
in an LE environment TCBFSA forward may be more reliable. COBOL maintains it,
PL/I does not. Assembler applications need to be examined for calling
convention. If you're following save area chains forward its possible to go
right beyond the active program to the save areas of subroutine(s) that have
returned.
Good Luck,
John
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN