Repository navigation
JCL proc: IF flow over library-member procedures via JCLLIB ORDER (Part of #8413) - #8554
Merged
Merged
Conversation
…answers (Part of #8413) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8413 (PROC resolution, remaining slice: IF flow over library-member procedures).
Checklist: partial [c:e2b88820] -- IF flow over a library-member procedure is done; still left: unqualified PARM / COND on a procedure call, SET vs PROC default, null symbolic, nested calls, SYSOUT / DUMMY DD override (each needs IBM manual text I could not read this run).
What changed
gitgalaxy/core/jcl_proc.py:expand_flow_rows(rows, job, text=None, libraries=None). A call whose procedure is not in-stream is looked up along the job's JCLLIB ORDER (first library wins, ASSUMED A2) and its steps are spliced asCALL.PROCSTEPlike an in-stream procedure's. With no libraries it is refused by name; a member in no library is refused.tests/equivalence/jcl/proc/scenarios.json: jobLIFJOB, a two-stepPRC4in LIB.B and a one-step decoy in LIB.A (proves the order), 2 flow answers (ifp-lib-all-zero,ifp-lib-m1-rc8) written from the IF / COND rules before the code ran.tests/cobol_mainframe/test_jcl_proc_case.py: passes the libraries, two refusal / order tests.tests/tools/capability_ledger.py: passes the libraries to the live count (without it the generated docs gate failed).Class / Sibling gaps
Class: how IF/COND address a procedure's steps in flow, by where the procedure comes from. Members: in-stream (done, #8464), library member via JCLLIB ORDER (done here, 2 scenarios; reuses the in-stream mechanism). INCLUDE inside a procedure and nested calls stay refused.
Sibling gaps (different mechanism, needs manual text):
PARM=/COND=on a procedure call: refused by name. The manual fetch returned the wrong book (IEBCOPY), so no answer was written from memory. Source: JCL Reference, EXEC PARM / COND.Remaining slices
scenarios.json,jcl_proc.py,test_jcl_proc_case.py(3 files); needs the SA23-1385 text first.Evaluator disagreements
None: both new answers reproduced on first run.
Gates
pr_gates --fast: lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet pass;affected(80 files) 2 failed, 2184 passed:test_container_datatype_change_reach_5005::test_no_burned_put_names_a_data_type_but_charandtest_estate_size::test_the_record_matches_a_live_count_of_the_corpora, both corpus-count tests with no path through the JCL files. Both fail identically on a pristineorigin/maincheckout (2 failed, 6 passed; run in a clean detached worktree): the box'sexample-health-apisclone in.mainframe_corporais broken (git rev-parse HEADfails in it, so the test sees no PUTs and a stale count). A box environment fault, not this change;pr_gates --vs-mainlabelled the gate "caused by branch" only because the gate selects tests by the changed files, so it ran a different set on main. The 105 JCL tests pass. No parsing logic touched, no golden bless;--ratchetsnot run.🤖 Generated with Claude Code