As in intercepting the call by some "outside entity" before the subroutine is entered, or, after the subroutine has been entered?
Both can be accomplished, although the latter is much easier. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of John P Donnelly Sent: Monday, September 24, 2007 6:43 PM To: IBM-MAIN@BAMA.UA.EDU Subject: COBOL called subroutines .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". John Donnelly z/OS Systems Services National Semiconductor Corporation 2900 Semiconductor Drive Santa Clara, CA 95051 PH: 408-721-5640 Email: [EMAIL PROTECTED] ---------------------------------------------------------------------- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.30/1025 - Release Date: 9/23/2007 1:53 PM <http://e-mail-servers.com/9c222774f14699cd0198bdfddd9c95adworker.jpg> ---------------------------------------------------------------------- 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