You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Siblings of #4996: noninteger / P-scaled numeric senders outside MOVE-to-X and STRING #5032
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Siblings of #4996 (class: numeric sender whose PICTURE is not a plain integer, or whose zoned bytes are not digits, read by a non-arithmetic statement). Found by the class sweep in PR #5031; IBM (Enterprise COBOL 6.4 Language Reference) is the reference, GnuCOBOL the instrument.
UNSTRING: a P-scaled or noninteger numeric item as the sending item / DELIMITED BY / INTO operand. Check IBM's UNSTRING rules and refuse by name where IBM rejects.
Signed zoned sender with sign byte ! (0x21) MOVEd to an alphanumeric item: cobc rewrites the sign to a digit, det copies the byte. Not P-specific; decide per IBM (undefined data, C11) and either model or ASSUME by name.
Class sweep from PR #5073 (which covers the three boxes above): one more member of the same class, not covered there (different mechanism):
INSPECT with a P-scaled / noninteger numeric item, and a reference-modified P-scaled sender: check IBM's INSPECT rules (Language Reference) and refuse by name where IBM rejects; ASSUME/REFUSE by name otherwise.
(UNSTRING into a national receiver is unreachable: national items are refused at layout.) Keep this issue open until this box is done.
Closing: PR #5073 covers all three boxes. (1) MOVE noninteger -> NATIONAL is already refused by name at layout (#4462/#4664) and is now tested across 6 senders x 6 national declarations, recorded in C11. (2) UNSTRING numeric operands are refused by name in Gen.unstring_operands: IBM rejections plus the port conservative REFUSED/ASSUMED choices, named in C11. (3) A signed zoned sender with an undefined sign byte MOVEd to X is refused at run time (Cobol.refuseUndefinedSign, IBM undefined data, C11). Remaining INSPECT / ref-mod P senders use a different mechanism and are not part of this checklist.
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
det: UNSTRING refusals name whose rule they are (IBM vs the port's co…
squid-protocol commentedon Oct 14, 2026
Class sweep from PR #5073 (which covers the three boxes above): one more member of the same class, not covered there (different mechanism):
(UNSTRING into a national receiver is unreachable: national items are refused at layout.) Keep this issue open until this box is done.
det: UNSTRING numeric operands and bad sign byte MOVE-to-X refused by…
squid-protocol commentedon Oct 14, 2026
Closing: PR #5073 covers all three boxes. (1) MOVE noninteger -> NATIONAL is already refused by name at layout (#4462/#4664) and is now tested across 6 senders x 6 national declarations, recorded in C11. (2) UNSTRING numeric operands are refused by name in
Gen.unstring_operands: IBM rejections plus the port conservative REFUSED/ASSUMED choices, named in C11. (3) A signed zoned sender with an undefined sign byte MOVEd to X is refused at run time (Cobol.refuseUndefinedSign, IBM undefined data, C11). Remaining INSPECT / ref-mod P senders use a different mechanism and are not part of this checklist.