Repository navigation
cics-crucible: browse events under conditions on both legs; stub ENDBR answers FILENOTFOUND (Part of #6262) - #7152
Conversation
…R answers FILENOTFOUND for an undefined file (Part of #6262) New test_browse_conditions_6262.py runs one command list (planned NOTOPEN / DUPKEY / ENDFILE, and an undefined file) through CicsTask and the C stub against one hand-traced IBM log. The stub answered INVREQ to ENDBR on an undefined file; IBM and the Java leg give FILENOTFOUND (RESP2 1, X75). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #7152 @ 21ce564: 1 failed check(s) == detmut (failure) -- real |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #6262.
What changed
READNEXT, READPREV and ENDBR already had Java (#6314) and stub (#6321) events on main, so the plan's premise changed: this slice is condition-path parity, not new events.
tests/cics_crucible/test_browse_conditions_6262.py(new): one command list (planned NOTOPEN on STARTBR, DUPKEY on READNEXT and READPREV, ENDFILE on READPREV, and all four commands on an undefined file) runs throughCicsTaskand the C stub against one hand-traced IBM log, compared withcc.compareunderJAVA_CAPS/COBOL_CAPS. DUPKEY must carry its record, a failed browse read none.tests/equivalence/cics/ggcics_filecontrol.c:GGCENBRanswered INVREQ (35) to ENDBR on a file absent fromfiles.cfg; IBM and the Java leg (endbrEventviafileFault) give FILENOTFOUND, RESP2 1 (X75). Fixed.Class / Sibling gaps
Class: browse-command events (SPEC 6.2) recorded identically by both runtimes on the condition paths. Swept: STARTBR, READNEXT, READPREV, ENDBR x planned fault, DUPKEY, undefined file; the one divergence found (stub ENDBR) is fixed.
Sibling gaps (no burned-estate program needs any today): WRITE and DELETE are not events in pinned cics-crucible v0.10.0 (needs a SPEC change, release and pin bump). The RBA browse event has no Java form. Java decides FILENOTFOUND only for blank or empty names while the stub decides it for any name absent from
files.cfg(documented, X75); the stub test therefore uses a blank-free undefined name because the stub event line is whitespace-split.hc-file-read-setcobol-stub cells are blocked by the translator (#6348).Evidence
tests/cics_crucible+test_source_reads+test_cics_spec: 934 passed, 6 skipped. New file 4 tests, 1.7 s.pr_gates --fast: 9/9.audit_check: all clear.det_port check: 182/182 ports unchanged. No golden or baseline change.Facts checked
equivalence_cics.CICS_RESPand the fault tables.🤖 Generated with Claude Code