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

Reply via email to