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: unnamed elementary item (2 PIC X(31) ..., implicit FILLER) is read as a field named PIC #4246
DBB MortgageApplication zBuilder/MortgageApplication/cobol/epscsmrd.cbl @ ce2c1be58eb049e000c6627bd8273263fef0c606 (4,052 lines, 13 PROGRAM-IDs), lines 24, 27, 30: 2 PIC X(40) USAGE DISPLAY VALUE '...'. A data description with no name is an implicit FILLER. Both the engine (record_data: item_name='PIC', level 2, line 24, pic empty) and the key (_data_items: name='PIC', pic=None, usage='DISPLAY') read the keyword PIC as the item name, so the item has no PIC and a wrong name.
Evidence
Reproduced on origin/main with both readers. The key's place() skips FILLER by name, so a mis-read name also changes layout offsets.
Acceptance criteria
An entry whose first token after the level number is a clause keyword (PIC/PICTURE/USAGE/VALUE/OCCURS/COMP...) is named FILLER, with its pic/usage captured
Same fix in engine and key (independently implemented)
Activity
fix: train -- #4329, #4391, #4392, #4393 (#4398)