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
Mainframe fact channel: batch CALL USING parameter contracts #3454
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
#3355 matched CICS LINK / XCTL / RETURN COMMAREAs to the callee's LINKAGE. Batch CALL 'X' USING A B C isn't matched against the callee's PROCEDURE DIVISION USING / LINKAGE, so an arity or layout mismatch between caller and callee is invisible.
Evidence
64 CALL sites in CardDemo and 4 in CBSA (call_site_data), many with USING lists. Callees are resolvable where they are in the repository, e.g. CSUTLDTC, COBDATFT, SAM2.
Proposal
Extend the COMMAREA contract channel to CALL USING: per call site, the ordered argument items, each resolved to its record_data layout, compared with the callee's USING parameters (arity, and length where computable).
Acceptance (ground truth, as for every channel since #3210)
An independent draft reader in tests/tools/cobol_answer_key.py. It must not import the engine; test_draft_readers_never_import_the_parsers_they_grade enforces this.
A new answer-key section, drafted for all three pinned corpora (zopeneditor, CBSA, CardDemo).
A blind census of that section with tests/tools/cross_verify.py census, with every disagreement ruled against the source.
A new scored field in tests/tools/ground_truth_ledger.py, so mainframe-ground-truth.yml fails CI on any regression.
The channel follows gitgalaxy/core/how_to_add_a_fact_channel.md: extractor, *_data table, delta restore, galaxy_ir.EngineFile reader and SCOPE update.
core-engineModifications to the central physics and parsing engineenhancementNew feature, sensor, or structural signaturelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forging
Activity
Mainframe fact channel: IMS DL/I calls and the segment matrix (#3450) (…
Mainframe fact channel: batch CALL USING contracts (#3454)
Mainframe fact channel: IMS DL/I calls and the segment matrix (#3450) (…
Mainframe fact channel: batch CALL USING contracts (#3454) (#3475)
Ground truth: blind census of CALL USING and DL/I key sections (#3454, …