Repository navigation
det/CICS: a model-port program LINKed with its DTO that XCTLs with it is refused by name (X39, Closes #4956) - #5016
Merged
Conversation
… is refused by name (X39, Closes #4956) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 13, 2026 03:05
squid-protocol
enabled auto-merge (squash)
October 13, 2026 03:05
Owner
Author
|
No description provided. |
Contributor
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.
Closes #4956. Sibling of #4816 / PR #4955 (register X39).
Gap. A model-port program is LINKed with its caller's DTO object only (no bytes), so #4955's
callerArea/xctlOfLinkageguard (det path, bytes) never fired:CicsTask.xctlanswered the X39 question silently as "copy".Fix.
CicsTask.linkmarks the calleelinkedDto;xctlrefuses by name (same message as the det case) a successful XCTL whose COMMAREA is that DTO or an object it holds by reference (nested group, table/element, list element, map value, byte area; cycle-safe identity walk). IBM: XCTL COMMAREA says only "the contents of the data-area are passed" -- copy vs caller storage is not documented, so it is refused, never assumed.Not refused: a copy (new object), a failed XCTL (LENGERR/PGMIDERR), level 1, the target of an XCTL passing its own DTO again (copy of a copy), a LINK with no DTO.
Class table
Tests. New
tests/cobol_mainframe/test_model_link_xctl_4956.py(JDK-compiled CicsTask, whole input class).test_cics_task_link_runs_the_callee_on_the_callers_commareaXCTLed its own LINK DTO; it now XCTLs a copy.Register. X39 entry extended;
oracle_assumptions.mdregenerated withregister.py render(not hand-edited).Gates. pr_gates --fast 5/5; --ratchets 7/7 (0 skipped). Golden fixtures untouched.
🤖 Generated with Claude Code