Skip to content

CICS spec: file outcomes state DUPKEY/140 on reads and DUPREC/150 on WRITE/REWRITE (Part of #4623) - #5310

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4623-20261017T0514Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4623-20261017T0514Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4623.

What. #5043 (real DUPKEY fault, both runtimes, xref-aix-dupkey scenarios) and #5063 (per-command conditions) did the harness side. What the issue still asked for was the spec side: gitgalaxy/standards/cics/commands/files.py stated 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 in test_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 --fast 6/6, --ratchets 8 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

…WRITE/REWRITE (Part of #4623)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 05:28
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 05:35
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 0cd7167 into main Oct 17, 2026
71 checks passed
@squid-protocol
squid-protocol deleted the churn/4623-20261017T0514Z branch October 17, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant