Skip to content

JCL GDG: GDG DDs of a library procedure that calls another, under JOB RESTART (Part of #8413) - #8987

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8413-20261122T0447Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

#8413 GDG slice: the generations a GDG DD names inside a library procedure that itself calls another library procedure, under JOB RESTART. tests/equivalence/jcl/gdg/nested.json holds the JCL, the two JCLLIB members (OUTR calls INNR between its steps, both with GDG DDs), 3 answers and 2 refusals. The answers were written from the JCL User's Guide (Appendix A, restarting with generation data sets, p. 243) and the JCL Reference (JOB: RESTART, p. 431) before the resolver saw them. Nested step naming CALL1. is ASSUMED A2 (restart/nested.json); the deferred checkpoint form is ASSUMED A9 (gdg/scenarios.json).

  • Step restart at the first outer step: (+1)/(+2) created and re-read; (0) stays the job-start newest (7).
  • Step restart after the inner call: present numbers, (0) is 9.
  • Checkpoint restart into the inner procedure: the numbers that created the generations (A9).
  • Refused by name: a step restart whose restart step reads (+1)/(+2) created before it (p. 431 gives no outcome); a checkpoint restart under GDGBIAS=STEP.

The resolver reproduced all of them on the first run: no engine change (nested DDs already flow through the flat expansion). capability_ledger.py dispatches gdg/nested.json, so "JCL step flow" counts it.

Checklist: partial [c:fe4cf3d7] -- GDG DDs in nested procedures done; RD on a library step left.

Class / Sibling gaps

Class: JOB RESTART forms applied to a procedure that is a JCLLIB member (restart/library.json, gdg/library.json and restart/nested.json are on main; this adds the GDG DDs of a nested member). Members: step restart before, at and after the inner call (handled, one form refused), checkpoint restart (handled, ASSUMED A9), GDGBIAS=STEP (refused by name).
Sibling gaps: RD (restart definition) on a library-procedure step: missing, a different mechanism (not in these files), next slice. A nested call under GDGBIAS=STEP restart: refused, the manuals state no per-step rebuild rule.

Remaining slices

RD on a library step (answers file plus test, about 3 files).

Gates

New tests: 7 pass. Related GDG, restart and capability-ledger tests: 158 pass. pr_gates --fast: 8/9 pass (lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet). affected failed 2 of 2191 tests that read the local mainframe corpora, unrelated to this change: test_container_datatype_change_reach_5005::test_no_burned_put_names_a_data_type_but_char and test_estate_size::test_the_record_matches_a_live_count_of_the_corpora (example-health-apis counts 0 vs live). Not re-checked against main. --ratchets not run: no engine, golden or ledger-input change.

🤖 Generated with Claude Code

… RESTART, 3 answers and 2 refusals from the manuals (Part of #8413)

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.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 22, 2026 05:55
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 05:56
@squid-shepherd
squid-shepherd Bot merged commit 085bb1c into main Nov 22, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8413-20261122T0447Z branch November 22, 2026 06:29
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