Skip to content

det/CICS: XCTL of a LINKAGE 01 record alias of a LINKed program's COMMAREA is refused by name (X39, Part of #4957) - #5021

Merged
squid-protocol merged 1 commit into
mainfrom
cics/4957-xctl-linkage-alias
Oct 13, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
cics/4957-xctl-linkage-alias

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4957 (X39 sibling of #4816 / #4956).

Root cause. det/cics.py in_dfhcommarea only followed a record named DFHCOMMAREA, so an XCTL of any other LINKAGE 01 record (a CALLed subprogram's USING record holding the LINK caller's area) was silently not refused.

Change. in_dfhcommarea now marks any LINKAGE 01 record (whole or field). The runtime check is unchanged and still refuses by name only when the program was LINKed with a COMMAREA and the XCTL succeeds. Register X39 updated, oracle_assumptions.md re-rendered.

Class table (alias of a LINKed program's COMMAREA at XCTL)

member status
DFHCOMMAREA / field of it handled (#4816)
model-port DTO and objects it holds handled (#4956)
CALLed subprogram's LINKAGE 01 record, whole or field handled here, tested
WORKING-STORAGE copy not refused (control)
SET ADDRESS OF X TO ADDRESS OF DFHCOMMAREA translation hole (generic "SET ADDRESS OF (pointers)"), pinned by test
pointer form (SET PTR TO ADDRESS OF, SET ADDRESS OF X TO PTR) translation hole, pinned by test
Java String/number field as COMMAREA undetectable (a value = a copy); unchanged

Oracle: ggcics.c xctl_next compares addresses, so every alias form is already refused there.

Gates. pr_gates --fast 5/5, --ratchets 7/7, det_port.py check 104/104 ports unchanged (no burned-estate port newly refused). New tests/cobol_mainframe/test_link_xctl_alias_4957.py (5 tests) plus 4816/det_translate suites pass; the EQUIVALENCE_E2E tests were skipped (no Docker run).

Cross-repo. None.

🤖 Generated with Claude Code

…gram's COMMAREA reached through a CALLed subprogram's USING record is refused by name (X39, Part of #4957)

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 13, 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 13, 2026 10:56
@squid-protocol
squid-protocol enabled auto-merge (squash) October 13, 2026 10:56
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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