Skip to content

VSAM lineage: a DD binding belongs to its own step (Part of #5072) - #5348

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5072-20261017T1521Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5072-20261017T1521Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5072 (second item: step-level DD scoping). Does not close it: the dynamic CALL item stays open.

Fix. GalaxyIR.dataset_lineage took every binding in the job for a program run by it. It now records the step of each EXEC PGM= (call row line == job-flow STEP row line, top-level steps only) and skips bindings of a different top-level step of the same job. A static callee (#5068) inherits its caller's step. Step unknown, or binding in a PROC step/override: unchanged (job-wide), so nothing that applied is dropped.

Class table (DD binding coarser than the run unit)

Member Status
Static CALL callee done in #5068
Two steps bind one DD to different DSNs this PR
Callee reached from callers in two steps this PR (union, test)
Same program run by two steps this PR (both kept, test; still refused by design)
CALL cycle across steps this PR (test)
PROC-expanded step / //STEP.DD override sibling gap, stays job-wide; no burned program shown to need it
CALL through a data item open on #5072

Evidence. New tests in tests/cobol_mainframe/test_vsam_repositories.py; pr_gates --fast 6/6, --ratchets 8/8 (ground-truth ledger, completeness, fact-crosscheck, estate unchanged: no burned estate moved). Golden masters not touched (IR consumer only).

Cross-repo: none.

🤖 Generated with Claude Code

… (Part of #5072)

dataset_lineage now records the step an EXEC PGM= sits in (joined to the job-flow STEP row by line)
and drops bindings of another top-level step of the same job. A callee keeps its caller's step.
Unknown or PROC steps stay job-wide.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 15:32
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 15:36
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit cee091c into main Oct 17, 2026
76 checks passed
@squid-protocol
squid-protocol deleted the churn/5072-20261017T1521Z branch October 17, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant