Skip to content

JCL oracle tier 2: data-flow probe run on MVS 3.8J, 6 of 6 agree three ways (Part of #8414) - #8816

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8414. Probe slice: data flow (DD concatenation, && temporaries with DISP=(,PASS), default DISP) run live on Hercules MVS 3.8J.

What changed

  • tests/tools/box/mvs38j/probe.py: new flow mode. Builds an IEFBR14 / IDCAMS deck per scenario of tests/equivalence/jcl/dataflow, PREP and POST decks (create what is read, IDCAMS DELETE after), and reads IEF236I / IEF237I / IEF285I per step.
  • tests/equivalence/jcl/dataflow/mvs38j_probe.json: expect (manual), engine (jcl_dataflow.resolve_dataflow) and box (3.8J) side by side. Run 2026-11-20: 6 of 6 agree three ways. Internal only (Q16): no MVS number is published.
  • tests/tools/test_mvs38j_probe.py: 6 offline tests (deck shape, support decks, name normalisation, log reader, committed results).
  • docs/jcl_oracle_mvs38j.md: data-flow section, traps, unobserved list, Remaining slices updated.

Class and Sibling gaps

Class: a manual-vs-engine data-flow answer never read against a real JES2 log. Siblings, not covered here:

  • Real GDG generations: (+1) failed on 3.8J with IEF218I PATTERN DSCB RECORD NOT FOUND IN VTOC after four model-DSCB placements. The GDG (0) reference was probed as a plain dataset and recorded as substituted.
  • SYSOUT class (SYSJOB, its OUTPUT statement is not in 3.8J): skipped.
  • Concatenation read order: IEFBR14 reads nothing, so only allocation-message order is seen.
  • DISP of permanent datasets: names only.

Remaining slices

GDG generations on 3.8J, SYSOUT/OUTPUT, IEBGENER / IEBCOPY / IEFBR14 dataset scenarios, restart / carddemo.

Checklist: partial [c:f8795ef7] -- data-flow part done; GDG, SYSOUT and the dataset-utility scenarios left
Checklist: partial [c:59a42cc8] -- the data-flow "cannot test" items are recorded in the doc; the final statement waits on the remaining slices

Gates

audit_check.py all clear; test_mvs38j_probe.py 15 passed (also from an unrelated directory); test_source_reads and test_no_raw_wall_clock_timing_8423 pass. No engine code touched, so no golden bless.

Lessons for agents

  • A stale box.pid blocks mvs38j.sh start; remove it after confirming the process is dead.
  • Cataloging in the master catalog stops on IEC301A (SYSPROG password): use the PUB001. alias (user catalog UCPUB001).
  • A DD operand past column 71 is IEF618I; DISP=NEW needs UNIT (IEF210I); a missing OLD dataset fails the whole job, so clean up with IDCAMS DELETE and SET MAXCC=0.
  • IEF285I lines after the last step's IEF374I are job-end disposals; the user catalog name is listed as KEPT.
  • A job hung on a console prompt is purged with a /*$CJnn,P card through the card reader (the driver owns the console).
  • Do not name a test-module constant LOG: it shadowed the existing fixture and broke an unrelated test.
  • A bare cat > file with no heredoc hangs Bash; use the Write tool.

🤖 Generated with Claude Code

@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 01:52
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 01:52
@squid-shepherd
squid-shepherd Bot merged commit ae48018 into main Nov 21, 2026
70 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8414-20261121T0106Z branch November 21, 2026 02:17
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