Repository navigation
det: a CALL to a sibling program of the same source is refused by name (Part of #5106) - #5584
Merged
Merged
Conversation
…e (Part of #5106) Static and dynamic CALL to another program of the translated source (DBB epscsmrd's EPSCSMRI/O/X) now reads "CALL X: a sibling program of this source ..." instead of the generic "CALL X"; still the multi-program-call entry. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 06:31
squid-protocol
enabled auto-merge (squash)
October 19, 2026 06:34
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5106 (DBB MortgageApplication epscsmrd holes), box
multi-program-call. Follow-up to #5571.Checklist: partial [c:f319ae94] -- the CALL is refused by name, not resolved: no service is made for a sibling program, and the CALL shapes epscsmrd uses (OMITTED, RETURNING, a group USING item) are not read.
Class
A CALL, static (
CALL 'X') or dynamic (CALL ident), to another program of the same multi-program source (nested or batch-compiled after it). Mechanism:program_unitsof the whole source givesgen.siblings; a CALL to one that no estate service answers raised the genericCALL X, and now readsCALL X: a sibling program of this source (...)(dyncall.sibling_refusal).refusal_mapentrymulti-program-callmatches both the old and the new text.CALL PGM)unit=) sees its caller as a sibling, not a holeHoles before/after for epscsmrd (real translate,
/tmpproject): 10 / 10. The three sibling holes now readCALL EPSCSMRX|I|O: a sibling program of this source ...; nothing is closed, so no proof is loosened.Why not resolved here
The forge makes no stub or service for a sibling (D049), so
ObjectProvider<EpscsmrxService>would not compile. Resolution means emitting a service per unit (Resultcarries extra classes;det_port.py,dryrun.py,equivalence_java.pytranslate each unit), and epscsmrd's own CALLs passOMITTEDandRETURNING, and group items, whichhandleCall(CobolRef<String>...)cannot carry. The callees (EPSCSMRI 2.4k lines) have holes of their own that count for the caller (#4803).Gates
pr_gates --fast6/6;--ratchets8/8 (ports, fact-crosscheck, ground-truth, completeness, time included); 351 tree-wide guard + det source + support-matrix tests passed; new test file 28 passed. Golden masters not touched (no parsing logic).Remaining slices
program.py(extra classes inResult),det_port.py/dryrun.py/equivalence_java.py(translate every unit), docs (COBOL engine: CALL to a sibling program in the same member (PAYMAIN → PAYCALC / literal-ID PAYRPT) resolves to nothing #4447 / COBOL units: record each unit's owning program (container attribute) for multi-program sources #4404). Core.OMITTEDarguments,RETURNING/ PROCEDURE DIVISION RETURNING, group USING items between siblings:gen.py,program.pyhandleCall, oracle register entry.called_holesfor the sibling closure (det_port: a CICS case's CALLed subprograms are not translated, so DBB EPSCSMRT cannot be cased (EPSMPMT stub; C6 holes) #4803).Sibling gaps
procedure-pointer(SET ... TO ENTRY 'EPSCSMRF/A/E'): epscsmrd, needed together with the LE handler model.soap(SOAPFAULT CREATE),getmain-initimg,address-of-record: epscsmrd only, unchanged.Cross-repo: none.
🤖 Generated with Claude Code