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: dynamic CALL through a VALUE table (epscsmrt) and a named refusal for CALL DSNTIAC (COTRTLIC) #4736
enhancementNew feature, sensor, or structural signatureera:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (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
Part of #4270. From the blockers census (baseline 63c1a6a): dynamic CALL is the only gap left in 2 burned programs (6 touched).
DBB MortgageApplication epscsmrt.cbl line 48: CALL WS-CALLED-PROGRAM USING EPSPDATA, where WS-CALLED-PROGRAM is MOVEd from CALLED-PROGRAM-NAME(1), a REDEFINES over a VALUE table ('EPSMPMT'). Two things are missing: (1) the engine's dynamic_call_targets finds no candidate through the REDEFINES table (the generated dispatchWsCalledProgramL48 says "Candidates: none found"), and (2) EPSMPMT's service has no handleCall entry. With both, the det translator could dispatch on the identifier's value at run time over the estate's candidates and stop by name on any other value (IBM: with no ON EXCEPTION, a CALL to a program that cannot be found ends the run unit; with ON EXCEPTION, its phrase runs).
CardDemo COTRTLIC.cbl (via copybook CSDB2RPY line 57): CALL LIT-DSNTIAC USING DFHEIBLK, DFHCOMMAREA, SQLCA, ... -- Db2's DSNTIAC message-formatting routine. Its output text is Db2's message catalogue, which IBM does not document byte for byte: this one should be refused by name (CALL DSNTIAC: Db2's message text is not modelled) rather than modelled.
Closing this issue as it has been fully addressed by PR #4750 (commit f6cda2cb3).
Verification Details:
Dynamic Call Candidates: The engine's dynamic_call_targets in galaxy_ir.py now correctly resolves the REDEFINES VALUE table. Specifically, for epscsmrt.cbl, it successfully identifies EPSMPMT and NOT VLD as valid candidates for WS-CALLED-PROGRAM.
HandleCall Generation: With the candidates correctly identified in the IR, the Java Target Matrix (jtm.generate) now correctly generates public int handleCall(Epspdata epspdata) inside EpsmpmtService.java. Furthermore, the EpscsmrtService.java stub correctly invokes this via epsmpmtService.getObject().handleCall(...) within the dynamic dispatch switch.
DSNTIAC Refusal: The logic added to dyncall.py (via REFUSED_BY_NAME) properly intercepts and rejects calls to DSNTIAC with the specified unmodelled message text warning.
Metrics Match: The dbb-mortgage-application completeness tests run cleanly against main, successfully resolving 19/19 program calls and 549/567 data flows, directly hitting our pinned targets.
(Note: Prior reports of test regressions in a separate session [e.g., program calls dropping to 18/19 or data flows dropping to 530/567] were false alarms caused by running pytest against an outdated system-installed package that lacked the PR #4750 commits. Running with the local PYTHONPATH=. confirms everything operates perfectly.)
enhancementNew feature, sensor, or structural signatureera:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (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: CALL identifier over the names the source fixes; DSNTIAC refused…
squid-protocol commentedon Oct 10, 2026
Closing this issue as it has been fully addressed by PR #4750 (commit
f6cda2cb3).Verification Details:
dynamic_call_targetsingalaxy_ir.pynow correctly resolves the REDEFINESVALUEtable. Specifically, forepscsmrt.cbl, it successfully identifiesEPSMPMTandNOT VLDas valid candidates forWS-CALLED-PROGRAM.jtm.generate) now correctly generatespublic int handleCall(Epspdata epspdata)insideEpsmpmtService.java. Furthermore, theEpscsmrtService.javastub correctly invokes this viaepsmpmtService.getObject().handleCall(...)within the dynamic dispatch switch.dyncall.py(viaREFUSED_BY_NAME) properly intercepts and rejects calls toDSNTIACwith the specified unmodelled message text warning.dbb-mortgage-applicationcompleteness tests run cleanly againstmain, successfully resolving 19/19 program calls and 549/567 data flows, directly hitting our pinned targets.(Note: Prior reports of test regressions in a separate session [e.g., program calls dropping to 18/19 or data flows dropping to 530/567] were false alarms caused by running
pytestagainst an outdated system-installed package that lacked the PR #4750 commits. Running with the localPYTHONPATH=.confirms everything operates perfectly.)