Skip to content

register F4: SORTOUT WRITE-30 measured on both sort cases (Part of #4268) - #7316

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4268-20261031T1430Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4268-20261031T1430Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4268.

Checklist: done [c:2148d504]

The checklist item (a SORT program proven against the oracle, collation per #4035) is met on main: carddemo-sort-tranrept and carddemo-sort-combtran (CH letters vs digits decide the EBCDIC order), the job case, and L5 with every survivor stated and no DD-label survivor open (#7305). No burned estate has a hand-written COBOL SORT/MERGE verb program (grepped the mainframe corpora), so the lowered DFSORT steps are the burned SORT programs.

This PR runs the last named gap, a SORTOUT WRITE fault (status 30) on both cases, and records the measured result in register F4 instead of adding the fault runs, because both diverge:

  • combtran (GIVING form): the port stops by name, Sort$NotModelled ("SORT GIVING O-FILE: WRITE gave FILE STATUS 30"). IBM leaves implicit GIVING status to FASTSRT.
  • tranrept (explicit WRITE, no FILE STATUS): oracle RETURN-CODE 1, port RETURN-CODE 0, SORTOUT 1/24 records equal. The port ignores the WRITE status; IBM abends.

Doc only (one file, docs/language_status/register/F4.md). pr_gates --fast: 9/9 pass. No golden or ratchet effect.

Class / Sibling gaps

Class: fault runs on every file a lowered SORT program touches. SORTIN READ-10 is done for all inputs; SORTOUT WRITE-30 is measured and refused as above.
Sibling gaps:

  • det port ignores the status of a WRITE (and likely READ/REWRITE/DELETE) on a file with no FILE STATUS and no declarative; IBM abends, GnuCOBOL ends RC 1. Needs det/gen.py (the O_FILE.write call site, st3 unused) plus a port-blocker record; burned program needing it: the lowered carddemo-sort-tranrept DFSORTST (any CardDemo/CBSA batch program without FILE STATUS is likely affected). Scope: core.
  • OPEN failure (35) on a SORT USING file and implicit GIVING I/O faults stay refused by name; need an owner ruling or a Sort status model. Burned program: carddemo-sort-combtran. Scope: frontier.
  • Utility steps (IDCAMS DEFINE etc.) are item [c:ac8b71e6], not this one.

🤖 Generated with Claude Code

…rries a fault run (Part of #4268)

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 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 14:48
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 14:51
@squid-shepherd
squid-shepherd Bot merged commit 1201b2c into main Oct 31, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4268-20261031T1430Z branch October 31, 2026 15:28
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