John,

I have a callable service that scans the savearea chain backwards and issues 
CSVQUERY against R14 [which is the caller's point of return] to determine the 
caller's load module name. It skips the "IGZ*" entry points to remove LE from 
the picture.

Of course, all statically linked CSECTs would point to the same load module.

Please, contact me offline if you'd like to test the service.
Thanks!
-Victor-     


On Mon, 24 Sep 2007 22:42:40 +0000, John P Donnelly 
<[EMAIL PROTECTED]> wrote:

>.is it possible to trap the name of a program making a call to a
>subroutine?
>.IBM COBOL support did not seem to think so, but thought better check
>with "THE LIST"

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