Repository navigation
ggdli.c: oracle side for EXEC DLI under CICS (Part of #5278) - #5800
Conversation
… at exit (Part of #5278) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… database bytes (Part of #5278) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #5800 @ 16b3075: 5 failed check(s) == db2 2/4 (cancelled) -- infra == db2 4/4 (cancelled) -- infra == det (failure) -- real == ground-truth (failure) -- flake == ground-truth part 2/2 (failure) -- main |
|
No description provided. |
|
No description provided. |
|
PR #5800 @ 40b2ee6: 2 failed check(s) == db2 3/4 (cancelled) -- infra == ground-truth part 2/2 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Checklist: done [c:0e827073]
Part of #5278. EXEC DLI under CICS now has an oracle:
equivalence_cics.pyrewrites each EXEC DLI to a CALL of newggdli.centry points (GGDLISCHD,GGDLIX,GGDLITERM, over the batch CBLTDLI core, PCB by number, DIBSTAT = the PCB mask status). The case'simsDBD / PSB / seed are staged in the scenario directory and both runtimes dump each database at exit. ADLI-DBSevent (hex bytes per DBD) is compared beside the CICS events.Plan deviations: no per-command DLI event log; the compare is the final database bytes plus the program's own output (SEND TEXT of DIBSTAT).
dli_stagestages the databases directly, becauseequivalence_ims.stagerequiresENTRY 'DLITCBL'.What changed
tests/equivalence/ims/ggdli.c: SCHD / TERM / one-command entries, DB dump at exit toGGCICS_OUT, dirs fall back toGGCICS_DIR.tests/tools/equivalence_cics.py:EXEC DLItagging,translate_dli,dli_stage,DLI-DBSevent, Java harnessdliReset/dliLeft.DetDli.reset(): per-scenario state reset (the runtime is static).register/I5.md: the oracle statement.tests/cobol_mainframe/test_equivalence_cics_dli.py: unit + E2E (EQUIVALENCE_E2E=1).Evidence
E2E synthetic CICS+DLI program on the LVLDBD fixture (SCHD, qualified 2-level GU, REPL, miss
GE, ISRT, DLET without getDJ, TERM): proven, all events equal, DB bytes equal. Gates: pr_gates --fast 7/7, --ratchets 8/8, audit_check clear, test_det_dli / test_det_mq green.Class table
Lessons for agents
BY VALUEpersists to later CALL args: state the mode on every argument.DetDliis static: a multi-scenario harness needsreset()between scenarios.🤖 Generated with Claude Code