Repository navigation
Description
Tier 1 of the batch oracle (owner 2026-11-13): JCL step-flow answers written from IBM's z/OS MVS JCL Reference for the constructs Batch Badlands plants (#7065, estate-crucible). This extends the method of #7654 / #7676: the answers are written from the manual, with page and section citations, before gitgalaxy.core.jcl_flow runs on them. The JCL fixture case (tests/equivalence/jcl/fixture/: FLOW.jcl and scenarios.json, 14 IBM-written scenarios, all reproduced) is the pattern.
Why
A batch job's "same output" has four layers: COBOL programs, JCL step flow, utilities, and system behaviour. GnuCOBOL covers only the first. For step flow, IBM's manual is the reference until a real z/OS run exists (#6492). The free Hercules / MVS 3.8J check is the separate issue linked in the comments. The batch blind trial will report a JCL measure next to L1 (#3806), so the evaluator's answers need a reference beyond the constructs CardDemo uses.
Checklist (one PR each, at most 5 hand-written files; answers before the evaluator runs)
- IF / THEN / ELSE / ENDIF: RC, ABEND, ABENDCC, RUN and
¬tests, nested IFs, IF around a PROC step, and COND=EVEN / COND=ONLY on the same job. Record which steps run or are bypassed for each given set of return codes and abends. (JCL oracle tier 1: IF/THEN/ELSE evaluated-once constructs, IF-around-PROC answers match (Part of #8413) #8464) - PROC resolution: symbolic parameters and their defaults, a SET statement, EXEC PARM / COND overrides of a PROC step, a DD override, a DD added to a PROC step, an INCLUDE group, and JCLLIB ORDER search (the first library that holds the member wins). The answer is the resolved step list and each step's DDs. (JCL proc: a SET and an INCLUDE group holding EXEC and SET inside a procedure, 4 answers from the manual (Part of #8413) #8732)
- GDG relative generations: (0), (+1) and (-1) within one job, a (+1) written by one step and read as (+1) by a later step, and DISP and catalog outcomes. The answer is which absolute generation each DD names. (GDG relative generations fully handled or refused on main (run 8413-20261123T1808Z; 67 GDG scenarios))
- Restart: JOB RESTART=stepname and RESTART=procstep.stepname, plus a deferred checkpoint restart (RD / CHKPT). The answer is which steps run on the restart. (JCL restart: RD on a library-procedure step, answers + refusal of a bad RD value (Part of #8413) #8992)
- Data flow between steps:
&&temporary datasets passed (DISP=(,PASS)), DD DUMMY / DSN=NULLFILE, DD concatenation (the read order), and SYSOUT classes and OUTPUT references. The answer is what each step reads and writes. (JCL oracle tier 1: IBM-manual answers for data flow between steps and resolver (Part of #8413) #8552)
Each scenario cites the manual page. Where the manual is silent, the scenario is marked ASSUMED with a one-line reason, never guessed. A disagreement with the evaluator is either an evaluator fix in the same PR (if it fits the 5 files) or a listed remaining slice.
Done when
Every line is merged, and capability_ledger.py "JCL step flow" counts the new IBM-written scenarios.
Related: #4891 (JCL execution), #7065 (Batch Badlands), #3806 (batch trial JCL measure), #6492 (z/OS calibration).
Activity
squid-protocol commentedon Nov 13, 2026
Tier 2 (Hercules + MVS 3.8J, a free check against real IBM code): #8414. Tier 3 (z/OS bursts): #6492.
JCL oracle tier 1: IBM-manual answers for IF/THEN/ELSE/ENDIF step flo…
squid-protocol commentedon Nov 13, 2026
Churn run
8413-20261113T1956Z(host nyx) ended without a PR. limit#8413 IFFLOW.jcl: store the not-sign as UTF-8 (a raw 0xAC byte broke …
jcl_proc: mypy-clean dict building (Part of #8413)
jcl_proc case: library members move into scenarios.json (5 hand-writt…
JCL oracle tier 1: 28 more IF/THEN/ELSE answers, bare ABEND / RUN eva…
squid-protocol commentedon Nov 14, 2026
#8451 merged: a partial slice of [c:c0e6aa54] "IF / THEN / ELSE / ENDIF: RC, ABEND, ABENDCC, RUN and
¬tests, nested IFs, IF around a PROC step, and COND=EVEN / COND=ONLY on the same job. Record which steps run or are bypassed for each given"; left: #8418 landed the 18-scenario IF/THEN/ELSE level; this adds 28 more and the evaluator fix they exposed. PROC-step IF scenarios stay pinned as known gaps until slice 2. (promoter-bot)squid-protocol commentedon Nov 14, 2026
#8451 merged: a partial slice of [c:e2b88820] "PROC resolution: symbolic parameters and their defaults, a SET statement, EXEC PARM / COND overrides of a PROC step, a DD override, a DD added to a PROC step, an INCLUDE group, and JCLLIB ORDER se"; left: only pins the reader's PROC-step gap (7 scenarios); PROC resolution itself is not done. (promoter-bot)
145 remaining items
squid-protocol commentedon Nov 23, 2026
Churn run
8413-20261123T1415Z(host nyx) ended without a PR. No PR: GDG slice already covered on main (67 scenarios, ~19 merged PRs); only refused entries remain, which need IBM manual text. GDG line [c:0c2f89bb] left unticked for the owner.squid-protocol commentedon Nov 23, 2026
Churn run
8413-20261123T1527Z(host nyx) ended without a PR. no PR: [c:0c2f89bb] already covered by merged PRs; only refused entries left (need IBM manual text)squid-protocol commentedon Nov 23, 2026
Churn run
8413-20261123T1745Z(host nyx) ended without a PR. No-change run: GDG remaining members are all refused (no IBM text); nothing left to slice. Checklist [c:0c2f89bb] left for owner/IBM text.squid-protocol commentedon Nov 23, 2026
Churn run
8413-20261123T1808Z(host nyx) ended without a PR. no change; GDG class fully handled or refused; checklist c:0c2f89bb donesquid-protocol commentedon Nov 23, 2026
All checklist items done; closing.