Repository navigation
JCL restart: RD on a library-procedure step, answers + refusal of a bad RD value (Part of #8413) - #8992
Conversation
… RESTART, 3 answers and 2 refusals from the manuals (Part of #8413) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…churn/8413-20261122T0556Z
…es the restart alone, a bad RD value is refused (Part of #8413) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8992 @ 078f823: 2 failed check(s) == full-suite (failure) -- real == full-suite part 4/4 (failure) -- real |
|
CI shepherd: the head of this PR (5f49a22) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #8992 @ 5f49a22: 3 failed check(s) == db2 (failure) -- real == equivalence-e2e (failure) -- real == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
Summary
#8413 restart slice 2: RD (restart definition) on a library-procedure step. Stacked on slice 1 (#8987, GDG DDs in nested procedures): this branch carries its commit, so retarget or rebase after #8987 merges; this PR's own files are the four below.
tests/equivalence/jcl/restart/rd.jsonholds the JCL (four restarted jobs, two refused), a JCLLIB member with RD=R / NR / RNC on its steps, and 5 answers: RD on the steps of a library procedure, on the calling EXEC, on a checkpoint restart (RESTART=(CALL1.M2,CK1)), and on the JOB statement plus a second call. The answers were written from the JCL Reference (EXEC: RD, JOB: RESTART) before the resolver was checked: RD governs the automatic restart of a running job after an abend; JOB RESTART= is a deferred restart of a resubmission, so RD never moves the steps. A COND naming the restart step still reads its return code.The resolver reproduced all 5 answers with no change. The 2 refusals needed code:
jcl_restart._restart_runnow refuses an RD value that is not R, RNC, NR or NC (IBM's four), on the calling EXEC and on every procedure step.capability_ledger.pydispatchesrestart/rd.json.ASSUMED A1 (in the file): the calling EXEC's RD overriding its procedure steps' RD is stated only for automatic restart; no effect on a resubmission is modelled.
Checklist: done [c:fe4cf3d7]
Class / Sibling gaps
Class: the EXEC RD= parameter wherever a restart can meet it (plain step, procedure step, calling EXEC, JOB statement). Members: plain step (restart/scenarios.json, on main), library-procedure step (this PR, handled), calling EXEC of a library procedure (this PR, handled), checkpoint restart with RD (this PR, handled), invalid RD value (this PR, refused by name).
Sibling gaps: RD= on the JOB statement is not parsed into the JOB row, so its value is not checked (the RDJ4 answer holds because RD never moves the steps): a different mechanism (job_flow JOB-row parsing, fact_channels reads), not here. RD with RESTART inside an in-stream procedure call: handled by the same step rows, no separate scenario. Automatic restart itself (RD=R during a run) stays not modelled (restart/scenarios.json not_modelled).
Remaining slices
None for this checklist line. The GDG relative-generations line [c:0c2f89bb] is worked by #8987.
Gates
New tests: 9 pass (
test_jcl_restart_rd.py). Related restart / nested / library / core_engine restart tests: 570 pass, 2 skipped.pr_gates --fast: 9/9 after fixing one import-spacing finding (lint);affectedpassed.--ratchetsnot run: no parser, golden or ledger-input change.🤖 Generated with Claude Code