Repository navigation
CICS ENQ fault injection (ENQBUSY) and task-private ENQ/DEQ in a RUN child (Part of #5089) - #5187
Conversation
…X60 (Part of #5089) A scenario can plan ENQBUSY for an ENQ by its RESOURCE operand; the stub (GGCENQ), CicsTask.enq and the det translator answer alike. IBM states no RESP2 for ENQBUSY, so it is 0 (ASSUMED); a planned-busy ENQ without NOSUSPEND is refused by both runtimes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t of #5089) An address-form ENQ / DEQ (no LENGTH) on a data area the child's own WORKING-STORAGE declares is held by that task alone, so no order against a parent or sibling exists. Every other region resource in a child (LENGTH form, LINKAGE item, counters, SQL) stays refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ntimes (Part of #5089) The COBOL side now reads the stub's ENQ event and compares its resource and RESP with CicsTask's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
PR #5187 @ 459ade7: 1 failed check(s) == full-suite part 2/3 (failure) -- real |
…ge ledger gains the enq-busy scenario (Part of #5089) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (78f6221) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #5089.
What changed
{"cmd": "ENQ", "resource": "<RESOURCE operand as written>", "resp": "ENQBUSY"}. The stub (GGCENQ),CicsTask.enqand the det translator answer alike: RESP 55, RESP2 0, eventENQ resource=.. resp=... IBM's ENQ page lists ENQBUSY with no RESP2, so 0 is ASSUMED and a plan naming one is refused. IBM raises ENQBUSY only with NOSUSPEND (or an active HANDLE CONDITION ENQBUSY): a planned-busy ENQ without NOSUSPEND is refused at run time by both runtimes. Any other condition planned for ENQ (INVREQ 2 / LENGERR 1 are the program's own operands) and ENQBUSY on any other command are refused by name. An ENQ that does not fault records no event, as before.enq-busyscenario onzecs-zecs000(1200-ENQ ... NOSUSPEND-> ENQBUSY -> 8000-RESTART):det_port.py run zecs-zecs000PROVED with the COBOL stub and the java facade agreeing on the fired fault and on every event.Class table (#5089's four same-mechanism gaps from the #5147 review)
Evidence
pytesttests/cics_crucible/test_enq_fault_5089.py (30: harness rules, a stub run and a CicsTask run over one ENQ sequence, the child rule), plus test_equivalence_cics / _faults / test_cics_spec* / test_cics_runtimes / test_det_translate: 889 passed, 5 skipped.det_port.py check: every port'sCicsTask.javamoved (shared runtime); services moved only for the ENQ users. Re-proved those: cbsa-creacc, cbsa-bnk1cac, genapp-lgicvs01, genapp-lgtestc1, zecs-zecs000 PROVED; cbsa-crecust and cbsa-bnk1ccs DIFFERS, both already indet_sweep_baseline.json(det: CBSA CRECUST equivalence case (Db2 seed + running children) #4952 / equivalence: cases for the 16 CICS programs that have none (6 estates) #5076, unchanged).pr_gates --fast6/6,--ratchets8 pass 0 fail 0 skipped. Golden masters untouched (no parser change).Sibling gaps
at * reclen, and the det port'sDetCics.Storemaps entity <-> one fixedbyte[], so a record's own length has no home in the facade. Needs an entity-layer design, not a harness tweak. Today's"variable": truestand-in (one record length) stays.LENGTHoutside 1..255 (LENGERR RESP2 1) and a bad MAXLIFETIME CVDA (INVREQ RESP2 2) are IBM-stated but neither runtime checks them (a program passing one gets NORMAL).Lessons for agents
CicsTask.javais not a file: it is the stringCICS_TASK_JAVAincobol_to_java_transaction_forge.py;det_port.py checkreports "CHANGED CicsTask.java" for every port whenever it changes, so re-prove only the ports whose*Service.javamoved.equivalence_cics.cobol_eventstoo, or the COBOL side silently drops it and the case DIFFERS with "COBOLSTART, JavaENQ".🤖 Generated with Claude Code