Repository navigation
JCL proc: a SET and an INCLUDE group holding EXEC and SET inside a procedure, 4 answers from the manual (Part of #8413) - #8732
Conversation
…ocedure, 4 answers from the manual (Part of #8413) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #8732 @ e2196df: 3 failed check(s) == crucible (failure) -- flake == full-suite part 2/4 (failure) -- real == measure (shard 1/4) (failure) -- flake |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…churn/8413-20261120T0220Z
|
CI shepherd: the head of this PR (2500a9e) is not the one a maintainer labelled |
|
No description provided. |
|
PR #8732 @ 2500a9e: 10 failed check(s) == crucible (cancelled) -- infra == det (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == measure (shard 3/4) (failure) -- real == publish-history (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
CI shepherd: the head of this PR (929e440) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #8413. Checklist: done [c:e2b88820]
What
PROC resolution: the checklist line's constructs (symbolic parameters and defaults, SET, EXEC PARM / COND overrides, DD override, added DD, INCLUDE group, JCLLIB ORDER) already had 35 resolve answers from earlier slices (#8456, #8556, #8563, #8699, #8727). Two members were still unanswered or silently wrong, both found by reading the resolver against the manual:
_step_ddsignored it, so a procedure's SET never took effect. Now it holds for the statements after it, reaches nested procedures, and is gone when the procedure returns.Four new answers, written from
ieab600_v3r1.txt(z/OS MVS JCL Reference, SA23-1385 V3R1) before the resolver change (the first run of the new scenarios was after the code edit; the expected values inscenarios.jsonwere not touched after it):proc-set-holds-for-later-statements-of-the-procedureproc-set-reaches-a-nested-procedureproc-set-does-not-outlive-the-procedureproc-include-group-with-set-exec-and-a-nested-group-is-splicedTwo new refused-by-name entries (the manual is silent or its two readings differ): a SET inside a procedure for a symbol the calling EXEC or PROC statement also assigns (rule 4 p. 48 says it applies only within the PROC; SET chapter p. 559 says the caller's value overrides), and a SET inside a procedure whose value holds a symbol. The old refusal "INCLUDE group inside a procedure holding EXEC or SET" is removed (now answered).
Class / Sibling gaps
Class: every way a symbol, statement or group reaches a procedure step's resolved EXEC / DD list (the checklist line's seven constructs, at job level, in an in-stream procedure, in a library procedure, in a nested procedure, and inside an INCLUDE group). Members: symbolic defaults / EXEC / SET at job level (handled), PARM / COND overrides (handled), DD override / added DD / kind override (handled), JCLLIB ORDER and INCLUDE search (handled), job-level INCLUDE group with EXEC / SET (handled, #8727), SET inside a procedure (handled here, 3), INCLUDE group with EXEC / SET inside a procedure (handled here, 1).
Sibling gaps (each stays refused by name in
scenarios.json; none is answerable from the manual as it stands):PARM=/COND=together withPARM.procstep=/COND.procstep=on one call;PARM=/COND=on a call of a procedure that calls procedures: manual silent.SYSOUT/*/DATAoverride of a DD that names a DSN: manual silent on whether the DSN is nullified.expand_flow_rows):stepname.procstepnameis defined only for a PGM step.Files (3 hand-written)
gitgalaxy/core/jcl_proc.py,tests/equivalence/jcl/proc/scenarios.json,tests/cobol_mainframe/test_jcl_proc_case.py.capability_ledger.pycounts the scenarios live from the JSON; no pinned number moves.Verification
pytest tests/cobol_mainframe/test_jcl_proc_case.py tests/cobol_mainframe/test_jcl_flow_level_fixture.py: pass (all 4 new scenarios reproduce, plus the two new refusal tests and the splice test).ruff format(CI-pinned 0.16.10) clean;audit_check.py: ruff / mypy / dead-key / doc-refs / ast-accuracy / signal-coverage OK after removing two unused arguments the change left in_step_dds.jcl_proc.pyis not the detector or a language standard), so no golden bless.Lessons for agents
tests/equivalence/jcl/proc/scenarios.jsonround-trips byte-identically throughjson.dumps(d, indent=2, ensure_ascii=False) + "\n": edit it by script and keep the diff to additions.ieab600_v3r1.txtin theibm-manualssibling directory; page numbers come from theChapter N ... <page>footers just after the passage.🤖 Generated with Claude Code