Repository navigation
JCL SYSLIB: an override naming fewer datasets than the proc's concatenation is not guessed (Part of #8412) - #9034
Merged
Conversation
…nation is not guessed (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
13 tasks done
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 #8412.
Checklist: done [c:166e4a56]
What changed
A cataloged proc's
SYSLIBcan be a concatenation (several DDs). A compile step's call-level//COB.SYSLIB DDoverride was read as replacing the whole concatenation, whatever its length. IBM matches override DDs to the proc's concatenated DDs by position, so an override naming fewer datasets than the proc leaves the proc's later libraries in the search order, which changes which same-name copybook wins.jcl_syslib_ordersnow:Files:
gitgalaxy/core/copy_libraries.py,tests/cobol_mainframe/test_copy_jcl_syslib_8412.py. Tests: the old "replaces the whole concatenation" case is split into equal / more / fewer.Class / Sibling gaps
Class: how a compile JCL fixes the COPY library order (SYSLIB DD concatenation, JCLLIB ORDER=, proc defaults and symbols, in-stream PROC, INCLUDE groups, call-level overrides). Members, with status: direct SYSLIB DD concatenation (done, #8656); JCLLIB ORDER= proc lookup (done, #8752); symbolic dataset names from PROC defaults, SET and call symbols (done, #8753); in-stream PROC and INCLUDE groups (done, #8766); call override of a concatenation (this PR, positional rule). Sibling gaps, all on authored fixtures only, no burned estate ships compile JCL that needs them: an override of a proc with more than one compile step (refused: which step an override addresses is not guessed);
DD DUMMY/DDNAME=/DSN=...(member)entries inside SYSLIB (read as unreadable, declare nothing); PROCLIB concatenations named byJOBLIB/SYSLIBsearch rather than JCLLIB (not read). None of these is filed.Gates
pr_gates.py --fast: 9/9 pass.tests/cobol_mainframe -k copy: 762 passed, 6 skipped.pr_gates.py --ratchets: 6 pass; fact-crosscheck, completeness and ground-truth fail only becauseexample-health-apisis not fetched at its pinned ref in this worktree (the CI job has it); the change reads JCL only for estates that ship compile JCL with an override, so no baseline should move (not verified locally).Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code