Repository navigation
equivalence: DBCRFUN on generated Db2 rows (Part of #4507) - #5519
Merged
Merged
Conversation
cbsa-dbcrfun-generated replaces the hand-written seed.sql with 30 ACCOUNT rows generated from CRETB01/CREI101, compare_sql on, 40 generated LINKs; det-port proof and coverage ledger entry. XFRFUN's generated case differs on a NULL-date TO read (COBOL's failing UPDATE -180 has no Java statement) and is not shipped. 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 18, 2026 19:27
squid-protocol
enabled auto-merge (squash)
October 18, 2026 19:33
This was referenced Oct 18, 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.
Summary
CBSA DBCRFUN on 30 generated IBMUSER.ACCOUNT rows (CRETB01/CREI101), PROCTRAN empty, compare_sql on, 40 generated LINKs (account in turn / 10% miss, debit and credit amounts to the S9(10)V99 limit, teller and payment facility types). Det-port proof PROVED on 43 scenarios (SQLCODEs 0 and +100 alike on both sides, ACCOUNT and PROCTRAN alike after every task), 16/22 paragraphs, 23/35 branches (uncovered: abend/CICS-fault arms). Test: test_the_dbcrfun_det_port_holds_on_generated_db2_rows (EQUIVALENCE_E2E=1). Coverage ledger entry via proof_sweep + det_coverage_ledger update.
Class
CBSA cases on hand-written seed.sql. Covered: dbcrfun. Not shipped: xfrfun (below). Left: crecust, bnk1* (multi-table, CUSTOMER/CONTROL).
XFRFUN finding (not shipped, proof not loosened): a generated case differs under compare_sql when the TO account's SELECT hits a NULL date (-305): COBOL falls through (misplaced END-IF) to an UPDATE that Db2 rejects (-180/22007); the Java port issues no UPDATE statement (generated-03/16/29/33). The hand case missed it (no compare_sql). Needs a translator/runtime fix; draft case kept in the handoff dir.
Checklist: partial [c:a7f4b905] -- xfrfun (blocked on the -180 UPDATE statement difference), crecust, bnk1*
Gates: pr_gates --fast 6/6, --ratchets 8/8; db2_rows tests and tree-wide guards pass.
Cross-repo: none.
🤖 Generated with Claude Code