Repository navigation
CICS spec: file outcomes state DUPKEY/140 on reads and DUPREC/150 on WRITE/REWRITE (Part of #4623) - #5310
Merged
Conversation
…WRITE/REWRITE (Part of #4623) 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 17, 2026 05:28
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 17, 2026 05:35
Contributor
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.
Part of #4623.
What. #5043 (real DUPKEY fault, both runtimes,
xref-aix-dupkeyscenarios) and #5063 (per-command conditions) did the harness side. What the issue still asked for was the spec side:gitgalaxy/standards/cics/commands/files.pystated no DUPKEY outcome on READ / READNEXT / READPREV, left WRITE's DUPREC RESP2 unstated, and had no DUPREC on REWRITE.Change.
files.py: DUPKEY/140 on READ, READNEXT, READPREV (writes = what NORMAL writes, since IBM delivers the record); DUPREC/150 on WRITE and REWRITE. Test:test_the_spec_states_each_duplicate_key_outcome_with_ibms_resp2(per command, against the IBM table intest_file_fault_conditions.py, DELETE has neither).Class. Spec outcomes that the harness injects and both runtimes answer but the spec leaves unstated. Fixed here: the five members above.
Sibling gaps (no burned-estate program needs any): DUPKEY on DELETE stays refused (X48); UNLOCK not fault-injectable; CONDITION_ABEND (AEX8) codes for IOERR/NOSPACE/NOTOPEN/DISABLED/FILENOTFOUND/LOCKED; ILLOGIC browse-end on READNEXT/READPREV/REWRITE (all from #5044's closing comment).
Gates.
pr_gates --fast6/6,--ratchets8 pass; cics_crucible + cobol_mainframe + test_det_translate/test_equivalence_cics pass. No parsing change: no golden bless. Cross-repo: none.🤖 Generated with Claude Code