We are using this information for logging and audit purposes. We are creating an interface program that may be called by hundreds of other programs. We were looking for a simple way to log which program called the interface program just in case that type of information would be needed if the interface program abended or had problems.
Brad Wissink Information Technology Services Iowa State University 515-294-3088 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Steve Comstock Sent: Friday, January 28, 2011 3:21 PM To: [email protected] Subject: Re: CEETBCK and LE conforming assembler On 1/28/2011 2:14 PM, Wissink, Brad [ITSYS] wrote: > I think I am after #1. Cobol program A dynamically calls Cobol program B. > Now I need a way for Cobol Program B to find out it was called by Cobol > program A. I was going to use CEETBCK to do this. > > Brad Wissink > Information Technology Services > Iowa State University > 515-294-3088 I don't know if you have any say in the matter, but this is a really bad design. Presumably program B intends to work differently if called by program A. There are really two ways to do this correctly: 1) have the calling parameters for invoking program B contain some kind of a processing indicator; or, 2) create two separate programs and call the correct one from the calling program. -- Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com * To get a good Return on your Investment, first make an investment! + Training your people is an excellent investment * Try our new tool for calculating your Return On Investment for training dollars at http://www.trainersfriend.com/ROI/roi.html ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

