Skip to content

register: C11 UNSTRING / P-scaled bullets quoted from the 6.4 Language Reference (Part of #4702) - #5488

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4702-20261018T1537Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4702-20261018T1537Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Quotes the remaining ASSUMED C11 bullets from the Enterprise COBOL for z/OS 6.4 Language Reference (SC27-8713-03, fetched from publibfp igy6lr40.pdf).

  • UNSTRING (pp. 465-470): identifier-1, -2, -3, -5 are never category numeric, so a numeric sending / DELIMITED BY / DELIMITER IN item is an IBM compile error, not the port's "conservative choice". Only a decimal (no P) numeric INTO item stays the port's own refusal (IBM allows it). Hole text in Gen.unstring_operands and one test expectation updated.
  • Right-P MOVE to alphanumeric: MOVE usage note 1 (p. 404) and "unsigned value used" (pp. 402-403) quoted; RT-CBL-MOVE-NUMERIC-TO-ALPHANUMERIC ASSUMED -> MATCHED. A non-digit in the digits stays C11 undefined data.
  • Fix: the elementary-moves table is Table 47 (pp. 404-405) in this edition, not "Table 51" (C11, gen.py, test).

Gates: register.py --check, cobolrt_rules.py --check, test_cobolrt_rules.py + test_det_nondigit_zoned.py (481 passed), audit_check.py clear.

Sibling gaps: numeric-edited UNSTRING sender (IBM rejects it too; port check is category NUMERIC only); other ASSUMED rules (C6 NUMVAL float, X54 BMS JUSTIFY, DLI I1/I3/I5) not in C11. No burned program needs any of these.

Checklist: done [c:2a3a3c17]

🤖 Generated with Claude Code

…age Reference (Part of #4702)

UNSTRING identifier-1/-2/-3/-5 are never category numeric (an IBM compile
error, no longer called the port's conservative choice); only a decimal numeric
INTO stays the port's own refusal. The noninteger-MOVE table is Table 47 in
SC27-8713-03, not 51. RT-CBL-MOVE-NUMERIC-TO-ALPHANUMERIC is MATCHED (MOVE
pp. 402-404). Hole text and one test expectation follow.

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 18, 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 18, 2026 15:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 15:47
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 74db5d3 into main Oct 18, 2026
73 checks passed
@squid-protocol
squid-protocol deleted the churn/4702-20261018T1537Z branch October 18, 2026 16:11
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