Skip to content

det cics: READ/READNEXT/READPREV SET(ADDRESS OF <LINKAGE 01>) translate whole (Part of #6876) - #7260

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6876-20261031T0540Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6876-20261031T0540Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6876

What

READ / READNEXT / READPREV SET(ADDRESS OF rec) with rec a LINKAGE 01 record was treated as a pointer name and reported "undeclared item". It now translates: the record views the block holding the file record, as SET ADDRESS OF rec TO ptr would (DetCics.setBlockAt, new, in rule RT-CICS-SET-BLOCK). A subordinate item or non-LINKAGE record is refused by name. HCRDST: 6 translator holes to 0 (77/77 statements).

Checklist: partial [c:be1b1852] -- HCRDST translates whole, but its java proof is blocked by the forge (see Sibling gaps)

Class / Sibling gaps

Class: file-read SET targets other than a plain POINTER item. Covered: LINKAGE 01 via ADDRESS OF; refused by name: subordinate and non-LINKAGE records.
Sibling gaps (burned estates):

Remaining slices

Forge file store for LINKAGE-only files (unblocks HCRDST, HCUNLK); WEB items; CALDTG LOAD edge.

Gates

audit_check clean; pr_gates --fast 8/9 on the first run (cobolrt catalogue, fixed), --ratchets 9/9; new test passes as plain pytest from /tmp. det_port.py check not run: no registered port uses this form (it was a hole before). Overlaps: merged origin/main; touches cics_filecontrol.py in two lines plus one small method.

Facts checked

HCRDST source reads SET(ADDRESS OF LS-REC) with 01 LS-REC PIC X(16) in LINKAGE; translated whole against the real forge project.

Lessons for agents

A new DetCics method needs adding to docs/language_status/cobolrt_rules.json and its [rule ...] comment directly before it.

🤖 Generated with Claude Code

@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 06:04
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 06:05
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

as SET ADDRESS OF rec TO ptr would (setBlockAt). Any other record is refused by name."""
import re

from gitgalaxy.tools.cobol_to_java.det.cics import CicsError
import re

from gitgalaxy.tools.cobol_to_java.det.cics import CicsError
from gitgalaxy.tools.cobol_to_java.det.gen import Untranslatable
@squid-shepherd
squid-shepherd Bot merged commit 332b67d into main Oct 31, 2026
96 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6876-20261031T0540Z branch October 31, 2026 06:57
squid-protocol added a commit that referenced this pull request Oct 31, 2026
…m the leaf cics_common (leaf-import test red after #7260 met #7257) (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 31, 2026
…_common (leaf-module rule, broken on main by #7260)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 31, 2026
…l; spec pin (Part of #5005) (#7266)

* X17: RETURN CHANNEL census (0 burned users) closes the settled refusal; spec pin (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det: cics_filecontrol set_target takes CicsError / Untranslatable from the leaf cics_common (leaf-import test red after #7260 met #7257) (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 31, 2026
…N STEP05R proven against the oracle (Part of #4268) (#7261)

* equivalence: a SORT case with a concatenated SORTIN, CardDemo COMBTRAN STEP05R lowered and proven against the oracle (Part of #4268)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det sweep: record carddemo-sort-combtran's duration so the shard plan has it measured (Part of #4268)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det cics: cics_filecontrol imports CicsError/Untranslatable from cics_common (leaf-module rule, broken on main by #7260)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* test_sort_case_4268: no side effect inside an assert (CodeQL py/side-effect-in-assert) (Part of #4268)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.

2 participants