Hello,
Our system has a bunch of jobs (JCLs) that call programs which themselves call programs,...
I need to list programs that are NOT called in any jobs.
I saw the post from mohdmustafa__m (11/2013)
"Need to find Obsolete PROC from JCLs"
... but my case is somewhat different: I cannot do a static code analysis because some programs are 'dynamically bound'.
The program to be called depends on the result of a calculation, a value in a file,...
Question:
Is there a way to track (log) the programs that are executed (loaded) at runtime?
If yes, I would be logging that info for a "representative period of time"... and thus identify programs that are 'never' used in a batch context.
I know there is a (system) log for CICS which logs things such as 'Resource definition for PGMXXX has been autoinstalled using model YYYYY'
... and since, in our system, CICS are restarted every day, collecting theses logs every day give me which programs are used in CICS every day.
Question is thus, is there something similar for batch (subsystems) ?
Thx for your answers...