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
equivalence: SQL fault injection (register M2) so SQLCODE error branches are proven #4173
era:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
The equivalence harness never injects SQL failures (register oracle_assumptions.md M2). Error branches that depend on SQLCODE are therefore never exercised, in COBOL or in Java.
Example: GenApp LGACDB01 is proven on 4 scenarios but covers only 6/14 branches (3/4 paragraphs). Its INSERT failure path, MOVE '90' TO CA-RETURN-CODE and PERFORM WRITE-ERROR-MESSAGE, is never reached.
The same gap matters when judging other translations. IBM WCA4Z's published translation of the same paragraph comments that error path out. Our current scenarios would not reach the difference through that path. (A comparison write-up is in docs/research, PR pending.)
Proposal
Allow a scenario to declare an SQL fault, e.g. "the Nth INSERT into CUSTOMER returns SQLCODE -803". Apply it on both sides: the COBOL precompiler stub (ggsql) and the Java DetSql/JDBC layer.
Fault-inject per statement, the way --faults already works for CICS conditions.
Report covered branches before and after on the Db2 cases.
era:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
IBM WCA4Z's published LGACDB01 translation, run through our equivalen…
SQL fault injection in the equivalence harness (#4173); a LINK COMMAR…
equivalence: an SQL fault is injected only where its statement's prog…
equivalence: a port's proof runs the programs its task LINKs to as Ja…
det sweep: the SQL-fault pass keeps the first pass's tables; the Db2 …
det sweep: Db2 shard telemetry and the first speed-ups (Part of #5882) (