Skip to content

CREASTMT padded-OUTREC job case runs SORT, IDCAMS and CBSTM03A + CBSTM03B in order (Part of #8884) - #9071

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8884-20261122T2352Z
Nov 23, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8884-20261122T2352Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Part of #8884.

Checklist: done [c:9d106702]

What

CardDemo's CREASTMT STEP010 writes 328-byte records against LRECL=350, so IBM ends it with ICE043A (register F4) and the job case carddemo-job-creastmt stops there. This adds an authored variant (not CardDemo's deck) whose OUTREC is padded to the LRECL (329:22X, the manual's remedy), so the whole chain runs:

  • carddemo-sort-creastmt-padded: DFSORT step lowered by det/dfsort.py, committed det port (port/), evidence record, det-sweep ledger.
  • carddemo-job-creastmt-padded: SORT -> IDCAMS REPRO (KSDS) -> CBSTM03A, a case with subprograms (CBSTM03B), in JCL order, no ibm_stops.
  • carddemo-job-creastmt is unchanged (IBM as written).
  • F4.md updated.

File cap

8 hand-written files by churn selfcheck, which cannot be cut: DFSORTST.cbl and DfsortstService.java are generated (det lowering / det port) and LICENSE/NOTICE are the source's own, all needed for one case; the 3 small test-file edits are the ratchet entries a new committed det port must add (same as tranrept/combtran): MUTATION_PENDING (test_evidence.py), MUTATION_UNREVIEWED (test_estate_evidence.py) and the third identical lowered-DFSORT handleTransaction in the shim allowlist (test_no_duplicated_port_shims_8486.py). Needs --file-cap-exception (one new case, atomic).

Evidence

  • Real GnuCOBOL + Java run (EQUIVALENCE_E2E=1, test_the_padded_creastmt_job_runs_sort_idcams_and_the_subprograms_step_in_order): 3 steps, proven, CBSTM03B passed as the step's subprogram. Passed locally (30 s).
  • test_job_case_4268.py pins the lowering of the padded SYSIN, step order, 350-byte SORTOUT, and check_job with no stop.
  • Oracle is GnuCOBOL plus our stubs, not z/OS. The padded OUTREC is authored, so this shows the harness runs the chain, not that CardDemo's JCL runs on IBM.

Remaining (not blocking this item)

  • L5 det-mutation run for carddemo-sort-creastmt-padded (listed as mutation-pending, like the other two DFSORT ports).

Sibling gaps

  • No other burned-estate job has a short-OUTREC join; Db2/IMS/CICS steps in a job stay refused by name (no burned program here needs them).

Lessons for agents

  • A new lowered-DFSORT case needs a committed port/service/DfsortstService.java + provenance.json (copy from the det_port work dir) or the Java side fails with "cannot find symbol DfsortstService"; compare: true needs copybook + record; and it needs an evidence.json (evidence.py prove) for test_estate_evidence.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 23, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 23, 2026 00:18
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 23, 2026 00:19
@squid-shepherd
squid-shepherd Bot merged commit 1b937f0 into main Nov 23, 2026
74 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8884-20261122T2352Z branch November 23, 2026 00:40
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