Concerning the note, "I have a requirement to be able to find the caller of a called program. The caller and called program are both COBOL running in batch. I found from the list that I should try CEETBCK. So I am trying to write an assembler routine to do this. Since I a novice at assembler I was wondering if anyone had a sample they would be willing to share showing me how to use CEETBCK"
Every time this question comes up and this happens every month or so (or something similar) I tell posters that you should submit an IBM "REQUEST" (via marketing" and reference the existing SHARE requirement: SSLNGC0313587 - New LE Callable Service to get (various) Program Names A new LE callable service (with capabilities well beyond CEE3GRN) should be created to obtain various program names. This should include options to obtain: - The currently executing program's name - The name of the program that "activated" (Called, Invoked, whatever) the currently executing program - The name of the program at the "top" of the current LE "enclave" - The name of the program at the "top" of the current LE "thread" For each of these, sub-options may be required to provide information such as - Any "alias" by with the program was entered - Any "long-name" (with mixed characters) as supported by the Binder - Any Entry-point name when other than the modules name Finally, although not necessarily a part of this callable service, it would also be desirable to be able to obtain the "data set name" (HFS, PDS, PDSE, LPA member, or whatever) from which each of these entities was obtained. *** This SHARE requirement was submitted to IBM in 2003. The need for this functionality comes up repeatedly in IBM-MAIN (and similar forums), but until/unless IBM customers communicate to IBM thru "official channels" that this is IMPORTANT for IBM to provide a solution to, I don't think they will actually do so. Please, PLEASE, Even if/when you do find a "work-around" make certain that your business needs are communicated to IBM. ---------------------------------------------------------------------- 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

