Repository navigation
mvs38j: probe run of JOB RESTART= step restart scenarios, 11 of 11 agree manual / engine / box (Part of #8414) - #8837
Merged
Conversation
…ree manual / engine / box (Part of #8414) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Probe run, step-restart slice (#8414, tier 2):
probe.py restartruns the eleventests/equivalence/jcl/restartscenarios that MVS 3.8J can express (RESTART=S3,RESTART=*,RESTART=CALL1.P2on a procedure step, COND naming a skipped step, mixed COND,COND=ONLYon the restart step) on the live box. Each step is IDCAMS withSET MAXCC=n; the log gives skipped / run / bypass per step. Results sit beside the manual answers intests/equivalence/jcl/restart/mvs38j_probe.json(provenancemvs38j-run), withexpect(IBM text),engine(jcl_restart.restart_flow) andboxside by side.Run 2026-11-21: 11 of 11 agree three ways,
unparsed_ief0, no JCL error. I checked the raw step records: the box really did not start the steps before the restart step. No register finding, no edit ofexpector the evaluator. Internal only (Q16): no MVS number is published or linked from a published page.Checklist: partial [c:f8795ef7] -- COND, PROC, data flow, GDG and step restart are done; left are SYSOUT class (
SYSJOB), IEBGENER / IEBCOPY / IEFBR14 dataset scenarios (no fixture has them yet), checkpoint restarts andcarddemo.Checklist: done [c:59a42cc8] --
docs/jcl_oracle_mvs38j.md"What this tier cannot test" still states it; this PR adds the restart skips (IF / THEN / ELSE jobs, checkpoint restart) to the file and the doc.Class / Sibling gaps
Class: JCL scenario files under
tests/equivalence/jcl/that 3.8J can run, probed on the box. Members: fixture (COND / EVEN / ONLY) done #8783; proc done #8787; dataflow done #8816; gdg done #8832; restart (this PR, 11 of 19 scenarios). Not here: restartRSTJOB4/11/12(checkpoint restart needs a SYSCHK dataset written by a checkpointed run: a different mechanism, listed as skipped in the results file with the reason);RSTJOB5/9/10andifelse/ifflow_scenarios.json(IF / THEN / ELSE does not exist in 3.8J, tier 1 only);carddemo(measured corpus, needs its own deck shape);SYSJOB(OUTPUT statement not in 3.8J).Sibling gaps:
procmentions IEBGENER in a PROC body); write the IBM-text answers first, then probe.carddemojobs: not probed; later slice.Remaining slices
RSTJOB4,RSTJOB11,RSTJOB12): probe.py + results; needs a checkpointed first run.carddemowhere 3.8J has the construct;SYSJOBSYSOUT class where expressible.Hand-written files (3):
tests/tools/box/mvs38j/probe.py,tests/tools/test_mvs38j_probe.py,docs/jcl_oracle_mvs38j.md. Generated evidence:tests/equivalence/jcl/restart/mvs38j_probe.json.Gates
audit_check.py: all clear (ruff baseline, mypy, dead-key, doc-refs, ast-accuracy, signal-coverage). Pinned ruffformatrun on both changed.pyfiles.pytest tests/tools/test_mvs38j_probe.py test_mvs38j_runner.py test_capability_ledger_jcl_cases.py tests/cobol_mainframe/test_jcl_restart_case.py: 76 pass. Not run:pr_gates --ratchets, full suite (no engine, golden or parsing change; CI's job). Live box run onchurn-8414-5, stopped afterwards.Lessons for agents
$MVS38J_WORK/box.pid(process gone) makesmvs38j.sh statusprint "box ready" and blocksstart: checkkill -0on the pid, delete the file, thenbg-job.sh start.probe.py --printeris$MVS38J_WORK/prt00e.txt(the first 1403 inconf/mvs.conf).🤖 Generated with Claude Code