Skip to content

det cics: EXEC CICS LOAD / RELEASE translate whole (Part of #6876) - #7248

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6876-20261031T0330Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6876-20261031T0330Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

The det translator now translates EXEC CICS LOAD / RELEASE whole, matching the semantics #7224 gave the cics-crucible cobol-stub (GGCLDPG / GGCRLPG). Both were engine-only in the command spec, so ca-load-set (CALDST 2, CALDSX 3, CALDTG 1) was refused with no reason.

  • LOAD PROGRAM [SET(ptr)] [LENGTH(halfword)]: an undefined program gives PGMIDERR RESP2 1 and sets nothing; otherwise a 256-byte image block (new pointer-lane kind 4) and LENGTH 256 (assumed, X65).
  • RELEASE PROGRAM: NORMAL if this task loaded it, INVREQ (RESP2 0) if not or already released, PGMIDERR 1 if undefined.
  • HOLD, ENTRY, FLENGTH stay refused by name; SET ADDRESS OF a loaded image is refused (its bytes are not modelled).

Class / Sibling gaps

Class: CICS commands that return a pointer to storage the program cannot read (GETMAIN, RECEIVE/RETRIEVE/READ SET, LOAD). LOAD now joins GETMAIN in the pointer lane (#4771 X47, #5042).
Sibling gaps: LOAD HOLD / ENTRY / FLENGTH (refused by name); real image bytes (256 B assumed, IBM states none); more than 32 simultaneous loads (stub cap); BLL-cell SERVICE RELOAD forms (#5119, adjacent, untouched).

Remaining slices

  • docs/language_status/register/X65.md text is stale (still says LOAD/RELEASE are engine-only).
  • Commit det ports for CALDST / CALDSX under tests/cics_crucible/det-ports and regenerate baseline.json / cics_crucible.md.
  • java-facade / java-ported cells for ca-load-set.

Evidence

  • pr_gates --fast 9/9, --ratchets all pass, audit_check clear. No golden bless (det only).
  • det_port.py check: in every port only the shared CicsTask.java moved (+27 lines); no program file changed. Re-proved cbsa-getscode, genapp-lgstsq, carddemo-menu, asynccc-getname: PROVED. The other ports were not re-proved here.
  • No burned program issues LOAD / RELEASE (test_pointer_lane_reach_5042).

Deviations from the plan

The plan listed 5 files and a new test file. New tests went into test_pointer_lane_5042.py instead. Five existing tests pinned LOAD/RELEASE as engine-only and had to change (test_cics_spec, test_det_translate, test_cics_burned_reach_4270, test_bll_cells_5119, test_load_release_stub_6876), so 10 files in all. The LOAD ... SET(cell) row in test_bll_cells_5119 was removed because it now translates.

File-cap exception: flipping LOAD/RELEASE to modelled in the spec is atomic; five existing tests pinned the old engine-only state and fail otherwise (each edit is a one-line expectation change).

Checklist: partial [c:e6056bd2] -- register X65 text, committed CALDST/CALDSX det ports with baseline regen, java cells

🤖 Generated with Claude Code

… (Part of #6876)

LOAD PROGRAM [SET] [LENGTH] and RELEASE PROGRAM move from engine-only to modelled. CicsTask
gains loadProgram / releaseProgram (a 256-byte image block, PGMIDERR for an undefined program,
INVREQ for a RELEASE of a program this task did not LOAD); HOLD / ENTRY / FLENGTH stay refused
by name (X65).

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 31, 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 31, 2026 03:56
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@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