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
det translator: CardDemo CBEXPORT / CBIMPORT count as whole, but their RECORD KEY is not in the file's record (the oracle does not compile them) #4804
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: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Refused by name from the #4270 non-CBSA whole-program cases (CardDemo app/cbl/CBEXPORT.cbl, app/cbl/CBIMPORT.cbl, both at evidence L1: "translated whole" in the census baseline of main 5242878).
Both programs declare the export file as
SELECT EXPORT-OUTPUT ASSIGN TO EXPFILE ORGANIZATION IS INDEXED ... RECORD KEY IS EXPORT-SEQUENCE-NUM
FD EXPORT-OUTPUT ... 01 EXPORT-OUTPUT-RECORD PIC X(500).
with EXPORT-SEQUENCE-NUM defined in WORKING-STORAGE (COPY CVEXPORT), not in the file's record. The language requires the RECORD KEY data item to be defined in a record description entry of that file (IBM Enterprise COBOL Language Reference, RECORD KEY clause), and the oracle refuses to compile it:
src/PROGRAM.cbl:68: error: 'EXPORT-SEQUENCE-NUM' is not defined (GnuCOBOL 3, -std=ibm; measured 2026-10-09 with an equivalence case)
So no equivalence case can run (the COBOL side does not build), yet the det translator counts both programs as whole (CBEXPORT 224/224, CBIMPORT 175/175). (Also: the JCL's IDCAMS DEFINE gives the cluster KEYS(4 28), while EXPORT-SEQUENCE-NUM sits at offset 27.)
Ask: the det translator (and the census) should refuse a RECORD KEY / ALTERNATE RECORD KEY that is not part of the file's record, by name, as the compilers do -- so the two programs stop counting as L1 "translated whole". No case is possible until the corpus fixes the source; the programs stay out of the evidence ladder.
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: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
det: refuse a RECORD KEY / ALTERNATE RECORD KEY outside the file's re…