Because at our site we have an ASSEMBLER coded interface module
between every two application modules that does the control transfer
(and the module load at first call, the AMODE switch etc.), we are able
to count the module calls by replacing this interface module by a special
one which collects this information (number of times a module has been
called, or number of times module x has been called from module y).

Another solution would be: modifying the instruction at the entry points of
the interesting modules at load time (for example with a TRAP instruction)
and counting the executions in the TRAP exit.

Kind regards

Bernd


Am 10.09.2013 22:33, schrieb Farley, Peter x23353:
A question was asked here whether the number of times a COBOL CALL was done to 
various subroutines in a batch job step could somehow be reported out of 
system-generated information.  We were informed by local SMF specialists that 
LINK/LOAD/XCTL/ATTACH/DETACH counts were not available from SMF records.

It occurred to me to wonder if LE maintains any sort of "CALL" count information for 
DYNAMically invoked routines (i.e., COBOL DYNAM compiler option, or "CALL variable-name" 
with option NODYNAM).

Does anyone here know if there any such information available through LE 
services?  Is there any way at all to get such information short of in-program 
call counters reported at EOJ by the programs themselves?

Peter




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to