Skip to content

Job harness: a DFSORT OUTREC shorter than the next LRECL is refused with IBM's ICE043A citation, never padded (Part of #8884) - #9035

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8884-20261122T1554Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8884-20261122T1554Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:9d106702] -- the CREASTMT job case, its deck and the SORT step case stay in PR #8978 (blocked on the nightly measuring det cases); this PR is the IBM-cited answer for its OUTREC length join.

What

CardDemo CREASTMT STEP010's OUTREC builds 328 bytes while its SORTOUT DD says LRECL=350. IBM answers it: DFSORT ends the step with ICE043A, reason code 9 (z/OS DFSORT Messages, Codes and Diagnosis Guide SC23-6879; the manual's example is OUTREC BUILD=(1,60) with LRECL=80), and the JCL's COND=(0,NE) bypasses the later steps. The manual's remedy is OUTREC padding; no pad is guessed.

  • tests/tools/equivalence_job.py: _check_feed refuses a lowered DFSORT step (DFSORTST) writing fewer bytes than the next DD reads, and the refusal carries the ICE043A citation. Other length mismatches keep the plain message. Nothing is padded; the job is wired and checked, never run or proven.
  • docs/language_status/register/F4.md: new bullet with the citation and what is not modelled.
  • tests/cobol_mainframe/test_job_case_4268.py: two tests on stub steps (cited when shorter + DFSORT; not cited when longer or not DFSORT). CREASTMT job case: SORT, IDCAMS, CBSTM03A with subprograms; refused by name at the OUTREC join (Part of #8884) #8978's tests match on the unchanged first half of the message.

Plan changed

Phase 1 guessed padding might be the answer. It is not: IBM terminates the step, so the job as written stops at STEP010.

Evidence

test_job_case_4268.py 10 passed; tests/tools -k "job or equivalence_job or doc_refs" 167 passed; audit_check.py all clear. No engine, golden or det-sweep change.

Class / Sibling gaps

Class: a job-case join where the writer's record length differs from the reader's LRECL.

  • DFSORT shorter than LRECL: cited here. Sibling: DFSORT longer than the reader (plain refusal, no IBM rule cited).
  • IEBGENER SYSUT2 length mismatch: not cited.
  • ICE043A termination as an expected step outcome with the COND bypass: not modelled.
  • An authored padded-OUTREC variant to run the chain: not built.
  • Java IDCAMS comparison (Job harness: the Java IDCAMS step is compared with the model (Part of #8881) #8976), IEFBR14 STEP030 and DELDEF01 catalog state: not modelled.

Remaining slices

CREASTMT job files and sort det case: #8978 (after the nightly measures det cases).

Lessons for agents

  • Fixed-length DFSORT output with SORTOUT LRECL larger than the OUTREC length is an IBM termination (ICE043A rc 9), not something to pad.
  • A new det case turns test_det_sweep_fast / test_ci_shard_plan red until the nightly measures it; do not edit det_sweep_durations.json.

🤖 Generated with Claude Code

…ith IBM's ICE043A citation, never padded (Part of #8884)

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

Copy link
Copy Markdown
Contributor

No description provided.

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