Repository navigation
det: a LINKed program XCTLing with its caller's COMMAREA is refused by name (Part of #4816) - #4955
Merged
Merged
Conversation
…y name (IBM silent on copy vs same storage) (Part of #4816) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
…ed operand; test the operand shapes (Part of #4816) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 12, 2026
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 12, 2026 07:08
This was referenced Oct 13, 2026
tests: the whole input class of a LINKed program XCTLing its caller's COMMAREA (Part of #4816)
#5058
Merged
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 #4816.
Decision. IBM's XCTL reference says only "the contents of the data-area are passed"; it does not say whether the target of a LINKed program's own DFHCOMMAREA addresses the LINK caller's storage or a copy. Never assumed, so both runtimes now refuse by name a successful XCTL whose COMMAREA lies inside the DFHCOMMAREA of a program LINKed with a COMMAREA. Register X39 (REFUSED, IBM silent; cites the XCTL page and why the issue's addressability sentence does not settle it).
What changed
ggcics.cxctl_next: exit 98 "XCTL passing the COMMAREA its LINK caller passed: not modelled" (the harness refuses the case by name).CicsTask:xctlOfLinkage()/callerArea;xctlthrowsUnsupportedOperationExceptiononly for a successful XCTL of the caller's area (failed XCTL: program goes on).cics.py: emitstask.xctlOfLinkage()when the XCTL COMMAREA operand is in the LINKAGE DFHCOMMAREA record (whole or a field).tests/cobol_mainframe/test_link_xctl_commarea_4816.py: translation marks (whole, part, WORKING-STORAGE copy not), CicsTask unit (refused / copy / failed XCTL / no bytes), E2E against GnuCOBOL (refused by name; copy proven).Class table (COMMAREA addressability across LINK/XCTL/RETURN chains)
Gates.
pr_gates --fast5/5;--ratchets7 pass, 0 skipped.det_port.py check: all 90 changed ports moved only by the sharedCicsTask.java(+18 lines), no translated service changed; re-proved cbsa-bnk1cac, carddemo-signon, genapp-lgacdb01 PROVED. No parser/engine regex touched, golden masters not affected.Cross-repo. None.
🤖 Generated with Claude Code