Skip to content

Job harness: the Java IDCAMS step is compared with the model (Part of #8881) - #8976

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
churn/8881-20261122T0353Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
churn/8881-20261122T0353Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

The job harness (tests/tools/equivalence_job.py) now runs the Java IDCAMS step (cobolrt/job/Idcams.java) on the same deck and input as the model and requires the two to agree line for line: return codes, log, catalog (clusters, alternate indexes, paths), sequential datasets, each path's records in alternate-key order (duplicates in the base's order), and refusal text. A step both sides agree on is no longer model_only; a differing Java side stops the job by name; with no JDK the step stays model_only and the job is never proven. New tests/tools/equivalence_idcams_java.py holds the comparison (SC23-6846-60 DEFINE ALTERNATEINDEX / DEFINE PATH / BLDINDEX).

Built on #8971 (the model-only IDCAMS job step, queued shepherd:merge): this branch merges its head, so it merges clean once #8971 lands.

Checklist: done [c:7865474a]

Tests

  • test_equivalence_idcams_java_8881.py: the TRANIDX chain (STEP20/25/30) through model and Java over a KSDS and an ESDS base, path in alternate-key order, refusals (UNIQUEKEY over duplicates, RECORDSIZE too small, PRINT, BLDINDEX INFILE) read the same on both sides, a differing Java side is reported, no JDK is None.
  • test_equivalence_job_4268.py: job wiring: Java-agreed step is not model-only and the job is proven; a differing Java stops the job by name.

Class / siblings

Class: an IDCAMS job step whose Java runtime was never compared in the job harness. Same mechanism (REPRO / DEFINE CLUSTER / DELETE decks) goes through the same comparison. Sibling gaps: ESDS alternate-key order stays an assumption of the model (GnuCOBOL has no ESDS alternate keys, register F6); a CICS step reading the path is #4894 (CardDemo TRANSACT-by-alternate-key programs). No other burned-estate program needs more here.

Gates

audit_check.py all clear; new/changed tests pass (60 + Java scenarios 53). No parser/engine change, no golden bless.

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 22, 2026
@squid-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (ab97156) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 22, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit e63901c into main Nov 22, 2026
73 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8881-20261122T0353Z branch November 22, 2026 05:34
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

squid-shepherd Bot pushed a commit that referenced this pull request Nov 22, 2026
…lternate-key order (Part of #8881) (#8979)

* Job harness: CardDemo POSTTRAN -> TRANIDX job case, the AIX path read in alternate-key order (Part of #8881)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* TRANIDX job test: no hard dependency on the Java comparison from #8976 (Part of #8881)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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