---------------------<snip>------------------

âEUR¦is it possible to trap the name of a program making a call to a
subroutine?

Might be good enough for your purposes to run the RB chain at entry to
your subroutine.  Follow:
        PSATOLD->TCB
        TCBRBP->RB
        RBLINK->RB until RBLINK=TCB
--------------------<unsnip>------------------
That's fine if the CALL is actually accomplished via LINK and you can trap it; to catch counts, etc. it might be better to use GTF and trap the SVC-6 of the LINK macro. Remember to set GTF to only trap on THAT address space, else you'll catch 1000's of LINKs that don't apply to your purpose.


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