Skip to content

JCL oracle tier 2: GDG relative generations probed on MVS 3.8J, 18 of 20 agree, 2 box findings (Part of #8414) - #8832

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261121T0301Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261121T0301Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8414

What

The GDG relative-generation slice of the JCL tier-2 oracle (MVS 3.8J on Hercules, internal only, Q16). probe.py gdg defines a GDG base per scenario with IDCAMS DEFINE GDG plus a model DSCB and IEHPROGM, runs the scenario's (0) / (+1) / (-1) DDs as one job, and reads the allocation messages and LISTCAT afterwards. Results: tests/equivalence/jcl/gdg/mvs38j_probe.json (provenance mvs38j-run, three columns: manual expect, engine, box).

Run 2026-11-20 on the live box: 20 scenarios run, 18 agree three ways, 2 differ on the box. Skipped and listed in the file: 6 GDGBIAS scenarios (a z/OS JOB keyword) and 5 restart scenarios (later slice).

Findings (register entries; expect and the evaluator are untouched)

  1. empty-rolls-off-every-generation-at-limit: with EMPTY at the limit, the (+1) in the first step uncatalogs the old generations at that step, so a later step's (0) fails IEF212I DATA SET NOT FOUND and the step does not run. The catalog afterwards agrees.
  2. new-keep-is-a-deferred-roll-in: a (+1) made DISP=(NEW,KEEP) is not cataloged, so a later step's (+1) DISP=SHR is IEF286I DISP FIELD INCOMPATIBLE WITH DSNAME, a JCL error. The catalog afterwards agrees.

Also solved: the IEF218I PATTERN DSCB failure recorded by the data-flow probe (the model DSCB and every generation must sit on the volume the group is pinned to). docs/jcl_oracle_mvs38j.md carries the new section and the box traps.

Class / Sibling gaps

Class: a tier-2 probe slice per answer-set family, three columns per scenario. Siblings: GDGBIAS (6) and restart (5) scenarios in the same file are not run; SYSOUT class (SYSJOB), IEBGENER / IEBCOPY / IEFBR14 dataset scenarios and carddemo are untouched. The register entries for the two findings are not filed as issues here.

Remaining slices

SYSOUT class, IEBGENER / IEBCOPY / IEFBR14 dataset scenarios, restart (incl. the 5 skipped GDG restart scenarios), carddemo where 3.8J has the construct. IF / THEN / ELSE, GDGBIAS and system-managed GDGs cannot run on 3.8J.

Checklist: partial [c:f8795ef7] -- remaining: SYSOUT class, dataset utilities, restart, carddemo

Gates

ruff format --check and ruff check on probe.py; ruff / mypy / dead-key / doc-refs --ci audits (no new findings); tests/tools/test_mvs38j_probe.py, tests/cobol_mainframe/test_jcl_gdg_case.py and the capability-ledger tests pass. pr_gates --fast (and the bundled audit_check) sat queued behind other workers on the heavy slots for over 40 minutes and had not run when this PR opened; CI will. No parsing logic touched, so no golden bless.

Lessons for agents

  • IEF287I ... NOT RECTLGD is a disposition line (a MOD,CATLG on an already-cataloged generation); a parser that reads only IEF285I loses the step.
  • A DD naming a GDG base prints one nameless IEF237I per generation and UNCATALOGED / DELETED pairs per generation: merge them before aligning DDs to datasets.
  • On 3.8J the model DSCB and all generations must be on the volume the group is pinned to (VOL=SER=PUB001); IEHPROGM / IEHLIST take VOL=3390=PUB001.

🤖 Generated with Claude Code

… 20 agree, 2 box findings (Part of #8414)

probe.py gdg defines a GDG base per scenario (IDCAMS DEFINE GDG + model DSCB, IEHPROGM scratch),
runs (+1)/(0)/(-1) in one job and reads IEF237I/IEF285I/IEF287I and LISTCAT. GDGBIAS (6) and
restart (5) scenarios are skipped and listed. Two disagreements are register findings.

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 21, 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 21, 2026 04:43
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 04:47
@squid-shepherd
squid-shepherd Bot merged commit 8ee67d5 into main Nov 21, 2026
68 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8414-20261121T0301Z branch November 21, 2026 05:11
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