You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Engine: resolve the program a batch runner runs (IKJEFT01 SYSTSIN 'RUN PROGRAM', DFSRRC00 PARM) #3710
The engine records the step's program as the runner, so job_steps, dataset_lineage and the new Spring Batch generation can't see program X.
CBSA: 36 of its 46 JCL jobs are IKJEFT01 jobs, and none can be classified as application work.
CardDemo: 11 runner jobs, plus 5 DFSRRC00 steps.
Fix (engine):
For a runner step, resolve the program it runs:
IKJEFT01 / IKJEFT1A / IKJEFT1B: RUN PROGRAM(x) in the step's in-stream SYSTSIN (continued lines, - continuation, multiple RUNs);
DFSRRC00: the second positional of PARM=.
Record it as a call edge from the step (EXEC PGM via runner, resolves_to), so job_steps shows the program and dataset_lineage binds its DDs.
A SYSTSIN that isn't in-stream (a dataset member) gets the member resolved where the repository holds it, else stays unresolved, as a finding.
Answer-key / census: the JCL job flow section would gain the runner's program (PGM= plus RUNS=).
The Spring Batch forge (#3622) already lists these jobs as runner in resources/batch/jcl-jobs.json. Once the engine resolves the program, a small forge change follows: BatchForge._plan prefers the runner's resolved program over the runner's name. Then these jobs classify as application jobs, and the runner step calls the program's runBatch.
Activity
feat(cobol-to-java): JCL job flow -> Spring Batch jobs (#3622) (#3711)