Skip to content

det: UNSTRING numeric operands and bad sign byte MOVE-to-X refused by name; NATIONAL already refused (Part of #5032) - #5073

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5032-20261014T0042Z
Oct 14, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5032-20261014T0042Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Part of #5032 (siblings of #4996 / PR #5031).

Class: a numeric item that is not a plain integer, or whose zoned bytes are not digits, read by a non-arithmetic statement (MOVE to text, STRING, UNSTRING).

Member Status
MOVE noninteger -> NATIONAL / national-edited already refused by name at layout (#4462/#4664, every national item); no sender shape reaches it. Now tested (6 senders x 6 national declarations) and recorded in C11
UNSTRING numeric operands NEW: Gen.unstring_operands. IBM's rules: a numeric INTO item with a P, and a non-integer / P COUNT IN / POINTER / TALLYING item, are refused. The port's own conservative choice (REFUSED / ASSUMED in C11, not an IBM compile error): a numeric sending or DELIMITED BY / DELIMITER IN item, and a decimal INTO item
Signed zoned sender with sign byte ! / X'FF' MOVEd to X NEW: Cobol.refuseUndefinedSign refuses at run time (IBM: undefined data, C11); cobc rewrites to a digit

det_port.py check: 105/105 ports differ from main only by the embedded Cobol.java runtime (+20 lines); no program's translation changed and no port is newly refused.

Sibling gaps: INSPECT / reference-modified P senders (different mechanism); UNSTRING into a national receiver is unreachable (national refused at layout).

Plan deviation: the NATIONAL box needed no gen change (the refusal is earlier, a LayoutError).
The IBM Language Reference PDF was not available in this session: the UNSTRING numeric sender / delimiter refusal is the conservative reading, stated as such in C11, not a quoted IBM rule.

Tests: test_det_nondigit_zoned.py (94 new/selected cases pass). Gates: pr_gates --fast 6/6, --ratchets 7/7. No golden move expected.

Cross-repo: none.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 13, 2026 20:46
…VEd to alphanumeric; national receiver already refused (Part of #5032)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nservative choice); fix stacked javadoc (Part of #5032)

Co-Authored-By: Claude Opus 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 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 14, 2026 01:23
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 01:23
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit dc16ca0 into main Oct 14, 2026
70 checks passed
@squid-protocol
squid-protocol deleted the churn/5032-20261014T0042Z branch October 14, 2026 02:40
squid-protocol added a commit that referenced this pull request Oct 14, 2026
…alibration per runtime rule (Part of #4711) (#5086)

* WIP cobolrt rule catalogue (#4711): catalogue, checker, markers, comment-insensitive runtime compare

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

* WIP cobolrt rule catalogue (#4711): two-way test, rendered page, #5073's new refusal classified

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

* cobolrt rule catalogue: the generated-docs publish list pin names the new page (#4711)

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

* cobolrt rule catalogue: #5085's layoutBytes under RT-CICS-XCTL-COMMAREA-LENGTH (#4711)

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

---------

Co-authored-by: Claude Opus 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.

1 participant