On Wed, Dec 20, 2017 at 2:13 PM, Edward Gould <[email protected]> wrote:
> > On Dec 20, 2017, at 8:59 AM, Lizette Koehler <[email protected]> > wrote: > > > > Do you have a source management tool? Either Change man or Endevor or > ?? These tools can produce what it knows about. > > > > Main modules are contained in SMF Records, so you can List what you > are/have run. It cannot tell if it has not been run > > > > Called programs/Sub Programs, as far as I know, are not tracked. Some > shops have a standard where either they have a user smf record to do that, > or have a requirement that all Cobol functions produce some sort of > tracking function. > > > > Do you keep at least 24 months' worth of SMF Data? > > Liz, > > Its been 20 years since I looked into this question and I think your > answer it good unto a point. The point that I will disagree with you is it > depends on how that module is invoked. If it is a statically linked then > the answer is no. If its dynamically linked then a tool is available that > front ends link etc.. I vaguely remember that we had issues with the tool > but for the most part it worked. I am assuming that after this much time > they have fixed their problems. The only thing I can add is be careful if > you track to much you will be inundated with SMF data. > It would need to front in LOAD in addition to LINK. As I understand it, the first time a COBOL program does a dynamic CALL, it goes to a subroutine which maintains a table. If the name is in the table, then the program has already been LOADed and control is given to it. If this is the first time, then the routine will do a LOAD and update the table with the name and EPA. I don't know that for certain, but I'm fairly sure that's how it works. This is why there are special LE routines for CICS because the CICS version does an EXEC CICS LOAD instead of a z/OS LOAD. Again, as best as I know. Damn OCO! > > Ed > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
