Skip to content

mvs38j: probe run of PROC symbolics and overrides, 8 of 8 agree; PROCSTEP order fixed (Part of #8414) - #8787

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8414-slice2
Nov 20, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8414-slice2

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Part of #8414 (slice 2 of 4: mvs38j probe, PROC symbolics and overrides, with the live PROCSTEP log). Internal use only until counsel answers Q16: no MVS number is published.

What changed

  • probe.py proc runs the 8 tests/equivalence/jcl/proc scenarios that 3.8J can express (SYMJOB S1-S3, OVRJOB O1-O3, PCJOB C1-C2) on the live box and compares three columns: expect (IBM manual text), engine (jcl_proc.resolve_job) and box (the job log: IEF236I step, IEF237I ddnames, IEF285I DSNs, IEF653I substituted PARM). Live run 2026-11-20: 8 of 8 agree. Result: tests/equivalence/jcl/proc/mvs38j_probe.json.
  • Runner fix: the live log shows a PROC step as IEF142I JOB PROCSTEP STEP (NPJOB A1 O2 is step A1 of //O2 EXEC BASE); runner.py had the two names reversed. Fixed, with the runner and box tests' fixture lines updated.
  • Unobserved on this tier (listed per result, not compared): resolved PGM (replaced by IEFBR14), non-symbolic PARM, every COND (all steps end 0). Override rules for PARM / COND stay tier 1 only.
  • Hand-written files: 5 (probe.py, runner.py, test_mvs38j_probe.py, test_mvs38j_runner.py, test_mvs38j_box.py); the runner fix cannot land without its two fixture updates. The doc update was cut to stay in the cap (see Remaining slices). No engine or parser code is touched, so no golden bless.

Class / Sibling gaps

Class: a field order or message shape assumed from documentation and never seen live.

  • IEF450I (abend) inside a PROC is assumed to follow the same procstep-first order: unseen live (_ABEND left unchanged). The runner test's IEF450I PJOB STEP2 GO fixture line is the same assumption.
  • sysgen.smp_failed_steps comment ("a PROC step logs as JOB STEP PROCSTEP") is stale; the function accepts either name.
  • SET / JCLLIB / INCLUDE / nested-procedure / IF scenarios have no 3.8J form (tier 1 only).
  • A PROC statement parameter that no statement references gave IEF657I in every trial; not isolated further.

Remaining slices

  • docs/jcl_oracle_mvs38j.md update (cut for the file cap): the live PROCSTEP order (JOB PROCSTEP STEP, replacing the "not yet seen in a live log" text), a PROC probe-run section (8 of 8, unobserved PGM / PARM / COND, the IEF621I / IEF657I quirks), and dropping PROC from its Remaining slices item 3.
  • DD concatenation and && temporaries (dataflow), GDG, IEBGENER / IEBCOPY / IEFBR14 utilities, restart / carddemo probe runs.

Checklist: partial [c:f8795ef7] -- probe run done for COND (#8783) and PROC (this PR); DD concatenation, GDG, utilities and restart/carddemo are left
Checklist: partial [c:59a42cc8] -- the PR states in probe.py and the result file what the tier cannot observe; the doc text is the next slice

Cross-repo: none. Slice 1 (#8783) is merged; this branch is on origin/main.

Lessons for agents

  • A PROC call's step lines read JOB PROCSTEP STEP in IEF142I and IEF236I: the procedure step first, the calling job step second.
  • In a PROC, a symbolic parameter declared on the PROC statement but never referenced gives IEF657I SYMBOL NOT DEFINED IN PROCEDURE; a substituted statement past column 71 gives IEF621I; &X..Y with X unresolved gives IEF624I; DISP=SHR on a nonexistent DSN gives IEF212I.
  • IEF237I (ddname) and IEF285I (DSN) per step give a PROC step's DD resolution without running real programs; an added DD allocates after the proc's own DDs, and a DD with DSN, UNIT and SPACE but no DISP defaults to NEW,DELETE.
  • Do not force-push a churn branch: when a rebase leaves the remote stale, push the rebased commit under a new branch name.

🤖 Generated with Claude Code

… 8 agree; PROCSTEP order fixed (Part of #8414)

The live log shows a PROC step as `IEF142I JOB PROCSTEP STEP` (procedure step first); the runner had them reversed.

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 20, 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 20, 2026 16:42
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 20, 2026 16:48
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 20, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (5e2289a) 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 marked this pull request as draft November 20, 2026 16:59
auto-merge was automatically disabled November 20, 2026 16:59

Pull request was converted to draft

@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 20, 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 20, 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 20, 2026 17:09
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 20, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 20, 2026 17:10
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 20, 2026
@squid-shepherd
squid-shepherd Bot merged commit 113edc2 into main Nov 20, 2026
83 of 101 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8414-slice2 branch November 20, 2026 18:34
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