Skip to content

det: P-scaled zoned sender class -- MULTIPLY/DIVIDE, DISPLAY/INITIALIZE holes, STRING/refmod bytes, cobc value probe (Part of #4996) - #5031

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4996-20261013T1343Z
Oct 13, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4996-20261013T1343Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4996. Tests + register text only; no engine change was needed.

What was measured (cobc 3.1.2 -std=ibm -fsign=EBCDIC in the oracle image, under timeout; IBM text from the Enterprise COBOL 6.4 Language Reference, quoted in register C11):

Member (P-scaled zoned sender) IBM Status
STRING sender / DELIMITED item compile error ("integer without the symbol 'P'") now refused by name (translation hole; also a noninteger numeric); S(1:1) refmod still translated
MOVE of a noninteger (VPP99, SVPP99, 9V99) to alphanumeric / -edited invalid (Table 51) now refused by name (translation hole)
MOVE of an integer right-P (99PP) to alphanumeric valid, each P counts as zero modelled, == cobc
reference modification numeric DISPLAY treated as alphanumeric of the same size, no P restriction modelled, == cobc
DISPLAY no P rule; "no other categories require conversion" -> stored bytes (inference) hole by name (#4670), tests added
MULTIPLY / DIVIDE operand; P receiver n/a (non-digit data undefined) refused already; tests added
INITIALIZE ... REPLACING n/a hole already; test added
digit-only value probe n/a det == cobc on 260 cases (nondigit_zoned_p_expected.txt); left-P MOVE to binary excluded, cobc hangs

Merged origin/main (incl. the #5015 overlap on oracle_assumptions.md; regenerated by register.py render).

Sibling gaps: a signed zoned item whose sign byte is ! (0x21), MOVEd to an alphanumeric item: cobc rewrites the sign to a digit (1! -> 11), det copies the byte (not P-specific). Non-integer numeric to NATIONAL (Table 51: No) and COMP/packed noninteger to alphanumeric are covered by the same translation check only for zoned/any scale > 0 numeric to alphanumeric(-edited)/alphabetic receivers; NATIONAL receivers are not checked.

Gates: pr_gates --fast 5/5, --ratchets 7 pass / 0 skipped, det_port.py check 104/104 unchanged, test_det_nondigit_zoned.py 293 passed (E2E cobc cases 19 passed); tests/cobol_mainframe det tests 946 passed.

Cross-repo: none.

🤖 Generated with Claude Code

…ZE holes, STRING/refmod bytes, cobc value probe (Part of #4996)

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

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

… numeric to alphanumeric are refused by name (IBM rejects both); C11 cites the 6.4 Language Reference (Part of #4996)

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 13, 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 13, 2026 14:34
@squid-protocol
squid-protocol enabled auto-merge (squash) October 13, 2026 14:34
@squid-protocol
squid-protocol merged commit 43f33be into main Oct 13, 2026
46 checks passed
@squid-protocol
squid-protocol deleted the churn/4996-20261013T1343Z branch October 13, 2026 14:45
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