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 harness: COBOL side drops WRITEQ TS events (first hit: GenApp LGSTSQ run in-task) #4607
era:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Part of #4270. Found while classifying the branch gaps of the GenApp Db2 cases (det/4270-eibtaskn-stated).
Finding
The equivalence harness's COBOL side never turns a WRITEQ TS into an event, but the Java side records one (CicsTask → WRITEQ-TS). No equivalence case has run a program that writes TS until now, so this never showed up.
tests/tools/equivalence_cics.pycobol_events() handles SEND-MAP / SEND-TEXT / SYNCPOINT / WRITEQ-TD / RECEIVE-MAP / RETURN / XCTL / LINK / ABEND. It drops the stub's WRITEQ-TS line even though the stub logs it (003 WRITEQ-TS pgm=LGSTSQ queue=47454E4145525253 item=1 resp=0 len=76) and writes the item under scenarios/<sc>/ts/.
Reproduction (probe, not committed)
genapp-lgacdb02 with "programs": [LGSTSQ], "region": {"applid": "GENAREGN", "sysid": "CICA"} (LGSTSQ needs ASSIGN SYSID) and a scenario with "commarea": null:
The WRITEQ-TD record is the same on both sides, and so is the abend. The only difference is the event the COBOL side never reports.
Why it matters
This is the only route to GenApp's EIBCALEN = 0 outcomes, the IF EIBCALEN IS EQUAL TO ZERO true side and IF EIBCALEN > 0 false side in WRITE-ERROR-MESSAGE, in LGACDB01/02, LGDPDB01, LGIPDB01 and LGUCDB01. That LINK to LGSTSQ passes the 71/87-byte ERROR-MSG, so WRITEQ LENGTH is at most 92, which is within WRITE-MSG's 95 bytes and not X6. The X10 read-past (COMMA-DATA 90 bytes) never reaches the output.
Fix sketch
cobol_events() should emit {"event": "WRITEQ-TS", "queue", "data", "resp", "item"} from the stub's line and its ts/ item, in the shape CicsTask records (the crucible's crucible_events.py already has it). Also add an oracle_assumptions note.
Owner decision (2026-10-07) on X6 for the GenApp WRITE-ERROR-MESSAGE path (LGSTSQ writes 104 bytes from a 95-byte area): judge a task up to the refused WRITEQ, as #4173 does for an unrun LINK. Outcomes before the refusal count as executed; the evidence report lists X6 as an assumption for those programs. Not settled on z/OS (#4050). Queued after #4602 lands, together with this issue's fix.
era:3Era CICS TS 1-2, LE: MQ, EXCI, bridge, web (~1996-2005) (era_tags.py)scope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
squid-protocol commentedon Oct 7, 2026
Owner decision (2026-10-07) on X6 for the GenApp WRITE-ERROR-MESSAGE path (LGSTSQ writes 104 bytes from a 95-byte area): judge a task up to the refused WRITEQ, as #4173 does for an unrun LINK. Outcomes before the refusal count as executed; the evidence report lists X6 as an assumption for those programs. Not settled on z/OS (#4050). Queued after #4602 lands, together with this issue's fix.
equivalence: WRITEQ TS events on both sides, judge tasks up to X6 (#4607
equivalence: X6-judged tasks in evidence records, docs, coverage ledg…