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 engine: PROGRAM-ID not recorded when its separator period is missing (PROGRAM-ID. CBLDB22 + trailing blanks; PROGRAM-ID TEST16.) #4307
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing 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
class_start (cobol.py:382-399) needs the name to be followed by [ \t]*\., or by an immediate \n. A fixed-format line padded with blanks to column 72 and lacking the period fails both. A PROGRAM-ID keyword with no period after it fails the keyword's own \.. Either way, class_data gets no row. Enterprise COBOL accepts both with a warning-level message, so such members compile and run.
Evidence (language-crucible v1.7.0, main 737cab8 and #4290 head)
cobol-programming-course/CBLDB22.cbl:7 PROGRAM-ID. CBLDB22 followed by blanks to col 72, no period: class_data empty. The program compiles in the course's own JCL (DB2CBL.jcl).
che-che4z_lsp_project_fixtures/TEST16.CBL:2PROGRAM-ID TEST16., and TEST51.CBL / TEST61.CBL: class_data empty. These are LSP fixtures and may be deliberately malformed, so weigh them lower.
Impact
No PROGRAM-ID means no program identity. CALL / EXEC PGM resolution to that member can only fall back to the file name, and the program is missing from the program inventory.
Acceptance criteria
Name followed by optional trailing blanks then newline is accepted; the period after the PROGRAM-ID keyword is optional
Fixtures for both shapes (fixed-format padded line)
Found during: crucible mainframe count audit (2026-10-04)
Found by a grep-vs-engine count audit of every mainframe file in language-crucible v1.7.0 (802 of 815 files compared), on main 737cab8 and the #4290 head (now merged as c136f46).
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing 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
fix: train -- #4307, #4331, #4352, #4354 (#4379)