Skip to content

X39: CICS capture kit for XCTL of a LINK caller COMMAREA (Part of #5060) - #6034

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5060-20261022T1718Z
Oct 22, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5060-20261022T1718Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5060. Checklist: partial [c:ec86e08a] -- the item itself needs the kit run on a real z/OS CICS region, then a model replacing the X39 refusal.

What

The open item (copy vs same storage when a LINKed program XCTLs its caller's COMMAREA) cannot be settled without a real CICS run, so this PR ships the owner-runnable capture kit, in the shape of the HFP kit:

  • tests/tools/xctl_commarea_capture_kit.py: emit writes GGXDRV / GGXMID / GGXTGT (LINK, then XCTL of the whole DFHCOMMAREA, of a group inside it, and of a SET ADDRESS OF alias; the target writes TGT and RETURNs). verdict reads the X39-<case>|<area> lines and says same-storage / copy / mixed / invalid per case (a missing line, a missing MID control, a failed XCTL or a changed byte is invalid, never guessed).
  • tests/cobol_mainframe/test_xctl_commarea_capture_kit.py: fixed-format lint of the emitted COBOL, the part's offset, and verdict decoding for uniform, mixed and invalid runs.
  • docs/language_status/register/X39.md: calibration-kit paragraph.

No engine change: X39 stays REFUSED, no golden bless.

Class table

Member Status
Model-port value forms done (#5651)
SET ADDRESS OF / pointer alias done (#5021); also a kit case
Copy vs same storage kit shipped; needs a z/OS run

Facts checked

The kit's COBOL has not been compiled (no CICS translator here); the first z/OS compile may need a syntax fix. pr_gates --fast 7/7, time ratchet pass, tree-wide guards pass, test run with plain pytest from /tmp.

Cross-repo: none.

🤖 Generated with Claude Code

…5060)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 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 22, 2026 17:26
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 17:26
@squid-protocol
squid-protocol merged commit 8d63dcd into main Oct 22, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/5060-20261022T1718Z branch October 22, 2026 17:33
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