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: HANDLE CONDITION ERROR(label) is accepted but never taken (condition() ignores ERROR) #4502
bugUnintended behavior or logic failure in the engineera:1Era CICS/VS command level, OS/VS COBOL (~1978-88) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Found while working on #4413. The det translator accepts EXEC CICS HANDLE CONDITION ERROR(label) (det/cics.py: "HANDLE CONDITION": None, every option a condition) and records it as handlers.put("ERROR", ...). But the port's condition() (det/program.py _cics_parts) only looks up the raised condition's own name, then takes the default action. So a condition with no handler of its own abends the det port, where CICS goes to the ERROR label.
IBM, EXEC CICS HANDLE CONDITION: "if the default action for such a condition terminates the task abnormally, and the condition ERROR has been specified, the action for ERROR is taken." The stub side already does this (ggcics.c GGCCOND, ERRCOND), and cics-crucible hc-perform-range length-trap exercises it. It is a silent divergence: the translation is accepted, not refused.
bugUnintended behavior or logic failure in the engineera:1Era CICS/VS command level, OS/VS COBOL (~1978-88) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
det: HANDLE AID, IGNORE CONDITION, PUSH / POP HANDLE and HANDLE CONDI…