Repository navigation
PL/I: a CALL inside EXEC SQL/CICS/DLI is not a PL/I CALL (Part of #5736, #4304) - #6310
Merged
Merged
Conversation
#5736, #4304) 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 24, 2026 01:02
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 01:03
Contributor
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
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 #5736. Checklist: partial [c:6a180fa3] -- COBOL side was already fixed (#4374); this closes the PL/I side; the optional "carry the procedure name" part is left (see gaps).
What
A PL/I
EXEC SQL CALL MYSCHEMA.GETCUST (:A);was read as a PL/ICALLofMYSCHEMAby both PL/I CALL readers (call_site_dataviapli_external_calls, andcalls_out_tovia thecalls_outrule). Both now skip a CALL inside anyEXEC <word> ... ;command (SQL, CICS, DLI).sql_statement_datakeeps recording the CALL. The calls_out mask is a bounded[^;]{0,2000};pattern; an unterminated EXEC masks nothing beyond it.Files:
core/pli_calls.py,languages/pli.py(_calls_out_masked_blocks),test_pli_exec_sql_call_4304.py(new),test_pli_strict.py(key pin).Class / Sibling gaps
Class: a CALL of an embedded-SQL stored procedure read as a host-language program call. Members: COBOL (#4374, done), PL/I (this PR), HLASM / other EXEC hosts: not applicable (no
CALLverb reader on EXEC bodies; HLASM CALL is a macro).Sibling gaps:
schema.proc) is not carried as a structured field or edge: it is only insql_statement_data.statement_text. Needs a schema column (fact channel, rehydrator, recorders) or a new edge kind resolved against SQL files like SQL call sites: Db2 CALL leaving the file reaches call_site_data (Part of #5736) #6080. No burned program needs it: the onlyEXEC SQL CALLin the pinned corpora isestate-crucibleCUSTDBIO.cbl (CALL CUSTAUDT), not a burned estate.Evidence
Scan of a PL/I repro before: call_site_data had CALL MYSCHEMA, UPDPROC, REALSUB. After: tests assert only REALSUB/AFTERSUB/LINK CICSPGM.
pr_gates --fast7/7,--ratchets9/9,crucible_check.pyboth legs PASS with no bless (golden unchanged).pytest tests/extraction/languages -k "pli or cobol": 695 passed.🤖 Generated with Claude Code