Skip to content

cics-crucible stub: EXEC CICS ADDRESS TWA / TCTUA modelled (Part of #5079, #6876) - #7202

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6876-20261030T2129Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6876-20261030T2129Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6876 (slice 2b of #5079): the stub side of EXEC CICS ADDRESS TWA / TCTUA. The det port side landed in #7146 / #7157.

What changed

  • ggcics.c GGCADDR: TWA is one zero-filled block per process (shared across LINK); TCTUA is a zero-filled block kept in a file per terminal, read at first use and written at exit, so it outlives the task. Sizes come from GGCICS_TWASIZE / GGCICS_USERAREALEN; no stated size gives pointer 0xFF, which a PIC X(4) view reads as X'FF000000' (IBM's missing-area value).
  • equivalence_cics.py _address: lowers TWA / TCTUA (option order EIB, COMMAREA, TWA, TCTUA) instead of refusing them.
  • cics_crucible.py: area_env passes the case's TWASIZE / USERAREALEN and a TCTUA path to each task.
  • test_address_5079.py: the two stub refusals are replaced by a test pinning the lowering order.
  • X59.md: stub now models both.
  • Generated: the 3 ca-address-twa-tctua cobol-stub cells leave baseline.json; coverage.json gains CATWAD / CATWSB; cics_crucible.md adjusted to match.

Evidence

cics_crucible.py --ci --cases ca-address-twa-tctua: cobol-stub 3 pass; java, java-ported, java-facade stay fail (unchanged). pr_gates --fast 9/9; test_address_5079.py and tests/cics_crucible pass. Initial TWA / TCTUA content is zero because IBM does not state it; only the crucible's scenarios depend on it.

Class / Sibling gaps

  • ADDRESS CWA / ACEE stay refused by name (no crucible case needs them).
  • The crucible java side for this case still fails: the forge's generated service is not a port.

Cross-repo

None. Companion PR #7178 touches ggcics.c and cics_crucible.py; merged origin/main, small hunks.

Checklist: done [c:10f70701]

Lessons for agents

  • cics_crucible.md is a full-run artifact: after a single-case run, merge coverage_of(results)["programs"] into coverage.json and splice the coverage_md rows by hand; confirm with a full --update-baseline if you can afford it.

🤖 Generated with Claude Code

…5079, #6876)

GGCADDR returns a zero-filled TWA block (one per process, shared across LINK) and a
file-backed TCTUA (per terminal, outlives the task), sized from the case's
TWASIZE / USERAREALEN; no stated size is X'FF000000'. The harness lowers both options
instead of refusing them, so the three ca-address-twa-tctua cobol-stub cells pass.

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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 21:56
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 22:03
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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