The order would be that the originating Cobol program would call another Cobol 
program.  The called Cobol program wants to know who called it because it can 
be called from many different programs.  The called Cobol program would then 
call my assembler program which would traverse back though the called chain 
using CEETBCK and report back who called it.   

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 11:50 AM
To: [email protected]
Subject: Re: CEETBCK and LE conforming assembler

On 1/28/2011 10:33 AM, Brad Wissink wrote:
> 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.

I'm unclear on where your Assembler program would stand in
the call heirarchy. It sounds like your Assembler program
is supposed to be sort of an observer. But how is it
invoked? It can't sit between the caller and the callee,
because then it becomes the callee.

I wouldn't be too exicited about CEETBCK, which is documented
in the LE Vendor's Interfaces guide as a compiler writers
interface.

Or is this program supposed to gather this information later
from, say, SMF or log records?

Some more detail of what you're trying to accomplish would
certainly help.


-- 

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

Reply via email to