Repository navigation
equivalence/det: ESDS browse by RBA on both sides; prove IBM DBB EPSMLIST (#4213) - #4236
Merged
Merged
Conversation
… DBB EPSMLIST (#4213) STARTBR / READNEXT / READPREV ... RBA, modelled where IBM's STARTBR / READNEXT / READPREV reference and "Sequential reading (browsing)" pin it: RIDFLD a fullword RBA, returned by each read; EQUAL the ESDS default (GTEQ refused); X'FF's at the end for READPREV; repositioning by RBA. ggcics.c (files.cfg ESDS flag), CicsTask (withEsds, startbrRba / readnextRba / readprevRba) and the det translator, which had silently dropped RBA and browsed by key. RBAs addressing no record, RBA on a non-ESDS, keyed commands on an ESDS and mixed browses are refused by name; XRBA, RRN and READ / WRITE / DELETE by RBA stay refused. Register X13. A case may state an ESDS the estate never defines (datasets.<name>.csd). New case mortgage-mlist (EPSMLIST, proven, 9 scenarios); mortgage-cmort runs EPSMLIST on PF9 and ENTER from the list (9 scenarios, 15/21 branches). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013sNMtAg6s9dyyjNgnjRHi8
Contributor
…nit) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013sNMtAg6s9dyyjNgnjRHi8
This was referenced Oct 3, 2026
Merged
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.
Closes #4213.
What
IBM DBB MortgageApplication's EPSMLIST browses its ESDS
EPSMORTFby relative byte address (STARTBR ... RIDFLD(RID-LENGTH) RBA EQUAL, thenREADNEXT ... RBA). The harness refused that, and the det translator droppedRBAwithout a word and browsed by key. This PR models the RBA browse on both sides of the proof, proves EPSMLIST, and letsmortgage-cmortrun its PF9 and ENTER-from-list paths, which LINK EPSMLIST.Semantics implemented (IBM CICS TS 6.x)
The COBOL side is
ggcics.c(rba_startbr/rba_read). The Java side isCicsTask(withEsds,startbrRba/readnextRba/readprevRba,rba/rbaBytes). The det translator emits the Java calls (det/cics.pyrba_browse).faultsmechanism works unchanged (STARTBR / READNEXT plans on both sides, used by two new scenarios).Oracle assumptions added
Register X13 (
oracle_assumptions.md):datasets.<name>.csd: {organization: ESDS, reclen, why}). MortgageApplication ships no CSD or IDCAMS for EPSMORTF.NONINDEXEDDEFINE with fixed RECORDSIZE is read as an ESDS.Still refused, by name
At run time, exit 98 or
UnsupportedOperationException, "... not modelled":By the translators: XRBA, RRN (RRDS), READ / WRITE / DELETE by RBA, and GTEQ / KEYLENGTH with RBA.
EPSMLIST proof status
mortgage-mlist(new): PROVED by the det port. 9 scenarios: ENTER, WHEN OTHER, CLEAR, PF3, PF12, EIBCALEN 0 (X12), an injected STARTBR NOTFND and an injected READNEXT IOERR. Coverage is 5/6 paragraphs and 14/15 branches. Each list scenario browses RBA 0, 56, 112, 168, then ENDFILE, then ENDBR.NUMPROC(MIG), C5). So no scenario lists a company, and no record's contents reach an output. The proof judges the browse by its outcomes. The RBA rules themselves are pinned rule by rule on both sides by the new unit cells.mortgage-cmort: now runs EPSMLIST in the same task (programs). It addspf9-listandenter-from-listand is still PROVED: 9 scenarios, branches 12/21 → 15/21.Tests (each failed on main)
tests/cics_crucible/test_cics_runtimes.py:tests/cobol_mainframe/test_equivalence_cics.py:tests/cobol_mainframe/test_det_translate.py: the det emission for STARTBR / READNEXT / READPREV RBA, and its holes.Golden drift
Pending: the local pr_gates run is in progress. Golden masters are not expected to move (no scanner change).
Checks
Pending: proof sweep and pr_gates are running locally.
Also
det_port_design.md"What the proofs found" records the translator's dropped-RBA defect. It is not a fact-channel field, so there is no field-testing log entry.estate4_dbb_mortgage.mdis updated.🤖 Generated with Claude Code
https://claude.ai/code/session_013sNMtAg6s9dyyjNgnjRHi8