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
COBOL record VALUE capture ignores the plural VALUES keyword (88-level lists) #3943
Found while fixing #3911 (#3940): the engine's VALUE regex in mainframe_boundary._cobol_records matches VALUE but not VALUES. VALUES is the plural COBOL allows for condition-names (88 VALID-CODE VALUES 1, 2, 3., VALUES ARE 'A' THRU 'F'), so such items record no value at all.
Fix: accept VALUE / VALUES, with optional IS / ARE, wherever the value is captured. Keep the #3911 decimal-comma rule: under DECIMAL-POINT IS COMMA, a comma between digits stays in the literal, while comma-space separates list entries. Golden masters will likely move for corpus programs with VALUES 88-levels; re-bless deliberately and list the changes.
Test:88 X VALUES 1, 2, 3., 88 Y VALUES ARE 'A' THRU 'F'., the singular forms unchanged, and a decimal-comma 88 Z VALUES 1,5 2,5..
Activity
#3942 / #3943: VALUES [ARE] is a VALUE clause; a copybook keeps a dec…