Repository navigation
equivalence: XFRFUN on generated Db2 rows; harness logs a client-refused bind as -180 (Part of #4507) - #5537
Merged
Merged
Conversation
…sed bind as Db2's -180 (Part of #4507) cbsa-xfrfun-generated: 30 generated ACCOUNT rows, 40 generated LINKs, compare_sql on. The earlier draft differed on a NULL-date TO read: the UPDATE that follows is rejected by Db2 (-180 / 22007) but the JDBC driver refuses the unset date on the client, so the Java outcome log held no statement. EquivalenceDb2Config now records that statement with Db2's answer; the translator already maps the exception to -180. Proved on 49 scenarios, 27/28 paragraphs, 45/81 branches. 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 21:39
squid-protocol
enabled auto-merge (squash)
October 18, 2026 21:45
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-xfrfun-generated: CBSA's XFRFUN on 30 generated ACCOUNT rows (CRETB01/CREI101/CRETB02), 40 generated LINKs plus 4 hand scenarios,compare_sqlon. Det-port PROVED on 49 scenarios, 27/28 paragraphs, 45/81 branches; SQLCODEs seen 0, +100, -180. ACCOUNT, PROCTRAN and ABNDFILE compared after every task.The earlier draft differed on a generated NULL-date TO read: the UPDATE that follows is rejected by Db2 (-180 / 22007), but IBM's JDBC driver refuses the unset date on the client (-4220), so the Java outcome log held no statement. The runtime already maps that exception to -180 (#4658). Fix:
EquivalenceDb2Config(tests/tools/equivalence_db2.py) now records that statement with Db2's answer. No data narrowed, no comparison loosened.Class table (CBSA programs on hand-written seed.sql, item a7f4b905)
PROCTRAN has no foreign key in CRETB02, so no new FK generation was needed for ACCOUNT/PROCTRAN programs.
Checklist: partial [c:a7f4b905] -- crecust-generated (multi-table CUSTOMER/CONTROL rows) and the bnk1* generated screen cases remain
Gates
pr_gates --fast6/6,--ratchets8/8 (JDK 17), new e2e test and unit test pass, tree-wide guards pass. Golden masters not touched (no parsing change). The harness:db2 fingerprint moved, so other Db2 evidence/ledger entries show a stale-harness warning until the scheduled refresh.Lessons for agents
execute*, so the Javacompare_sqllog misses a statement COBOL's Db2 logged; handle it in theEquivalenceDb2Configproxy, not by changing data.🤖 Generated with Claude Code