In <[EMAIL PROTECTED]>, on
09/24/2007
at 10:42 PM, John P Donnelly <[EMAIL PROTECTED]> said:
> is it possible to trap the name of a program making a call to a
>subroutine?
To some extent, if the program follows standards save area conventions.
Note, however, that the eyecatcher may include more than just the routine
name.
You can also look up the caller's entry-point address. Finally, if you get
control via LINK you can examine the CDE pointed to by the caller's PRB.
As usual, YMMV.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
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