Skip to content

JCL oracle tier 2: Hercules + MVS 3.8J as a free real-IBM check of core JCL behaviour (licence checked; internal use until Q16) #8414

Done

Description

@squid-protocol

Tier 2 of the batch oracle (owner 2026-11-13): a free check of real IBM code for core JCL behaviour. Run Hercules with MVS 3.8J and compare its JES2 results to our IBM-manual answers and to gitgalaxy.core.jcl_flow. This sits between the manual answers (tier 1, the IBM-manual answers issue linked in the comments) and short real-z/OS bursts (tier 3, #6492, blocked on access and Q16).

Licence check (done 2026-11-13; one item left for counsel)

Component Finding Source
Hercules emulator, SDL Hyperion (maintained 4.x) Q Public License 1.0 (repository COPYRIGHT file). Use, including commercial use, is allowed. Modified copies may be distributed only as patches, which we won't need. github.com/SDL-Hercules-390/hyperion COPYRIGHT; sdl-hercules-390.github.io/html/herclic.html
MVS 3.8J (OS/VS2) Treated as public domain by community consensus: IBM shipped it as a no-charge product, and the code carries no copyright notice. IBM has never confirmed this in writing, and no source addresses commercial validation use. jaymoseley.com/hercules (Installing MVS 3.8j); UCC wiki "MVS"; Wikipedia "Hercules (emulator)"
TK4- / TK5 turnkey systems Bundle third-party CBT Tape add-ons under mixed terms. Not used: build from IBM's original distribution tapes (Jay Moseley's sysgen) and use IBM base components only (JES2, IEFBR14, IEBGENER, IEBCOPY, IEHPROGM, IDCAMS of that era). TK4- user's manual, Appendix A
z/OS on Hercules Never. IBM's licence ties z/OS to IBM hardware (#6492).

Until counsel answers (Q16, together with #6492): internal use only. Owner ruling 2026-11-23: proceed without counsel (see comment). Results inform evaluator fixes and register entries, but no MVS 3.8J numbers are published.

Checklist

  • Reproducible MVS 3.8J box on nyx (not CI): a container or script that builds SDL Hyperion and an MVS 3.8J system from IBM's distribution tapes (sysgen per Jay Moseley), started through heavy-run.sh. Document the build in the repo; the system image is not committed.
  • Job runner: submit a JCL deck through a card reader (socket device) and capture the JES2 job log: step return codes, IEF142I / IEF202I "step was not executed" messages, dataset dispositions, and SYSOUT. Parse it to JSON with provenance mvs38j-run.
  • Probe run: run the era-compatible subset of the IBM-written scenarios (tests/equivalence/jcl fixture, plus the new tier-1 answers). That covers COND (including EVEN / ONLY), PROC symbolics and overrides, DD concatenation, && temporary datasets, GDG relative generations, IEBGENER, IEBCOPY and IEFBR14. Record results next to the manual answers. Each three-way disagreement (manual, MVS, evaluator) becomes a register finding, never a silent change. (mvs38j: PROC probe adds SSJOB E1/E2 and DUPJOB E1/E2, 15 of 15 agree (Part of #8414) #9087)
  • State what this tier cannot test: IF / THEN / ELSE, JCLLIB, INCLUDE, SET, modern DFSORT / ICETOOL, Enterprise COBOL and CICS do not exist in MVS 3.8J. They stay tier-1 (manual) until z/OS (z/OS calibration oracle: run the probe corpus and HFP captures on real Enterprise COBOL (blocked: access + legal Q16) #6492). List them per construct in the capability ledger note. (mvs38j: probe run of JOB RESTART= step restart scenarios, 11 of 11 agree manual / engine / box (Part of #8414) #8837)
  • OWNER / counsel (Q16): confirm that MVS 3.8J may be used to validate a commercial product, and that its results may be published. Until then, internal use only (above).

Done when

The probe subset has recorded mvs38j-run results, disagreements are filed, and the ledger shows which JCL constructs are checked against real IBM code.

Activity

  1. added
    enhancement
    legacy-modernization
    scope:infra
    on Nov 13, 2026
  2. squid-protocol commented on Nov 13, 2026

    @squid-protocol
    OwnerAuthor

    Tier 1 (the IBM-manual answers it compares against): #8413. Tier 3 (z/OS, the same counsel question Q16): #6492.

  3. squid-protocol commented on Nov 14, 2026

    @squid-protocol
    OwnerAuthor

    #8449 merged: a partial slice of [c:52d5564f] "Reproducible MVS 3.8J box on nyx (not CI): a container or script that builds SDL Hyperion and an MVS 3.8J system from IBM's distribution tapes (sysgen per Jay Moseley), started through heavy-run."; left: unattended Jay Moseley sysgen driver (mvs38j.sh sysgen` currently exits 3) and a first IPL of the generated system (promoter-bot)

  4. squid-protocol commented on Nov 14, 2026

    @squid-protocol
    OwnerAuthor

    #8453 merged: a partial slice of [c:52d5564f] "Reproducible MVS 3.8J box on nyx (not CI): a container or script that builds SDL Hyperion and an MVS 3.8J system from IBM's distribution tapes (sysgen per Jay Moseley), started through heavy-run."; left: unattended Jay Moseley sysgen driver (mvs38j.sh sysgen` exits 3), job runner, probe run and ledger note (promoter-bot)

  5. squid-protocol commented on Nov 14, 2026

    @squid-protocol
    OwnerAuthor

    #8455 merged: a partial slice of [c:52d5564f] "Reproducible MVS 3.8J box on nyx (not CI): a container or script that builds SDL Hyperion and an MVS 3.8J system from IBM's distribution tapes (sysgen per Jay Moseley), started through heavy-run."; left: the console-driven sysgen itself (starter IPL, stage 1, stage 2, user mods; mvs38j.sh sysgen` still exits 3) and a first IPL of the generated system (promoter-bot)

  6. squid-protocol commented on Nov 14, 2026

    @squid-protocol
    OwnerAuthor

    #8457 merged: a partial slice of [c:52d5564f] "Reproducible MVS 3.8J box on nyx (not CI): a container or script that builds SDL Hyperion and an MVS 3.8J system from IBM's distribution tapes (sysgen per Jay Moseley), started through `heavy-run."; left: starter stage automated; smp1/smp2, stage1/stage2 and usermods remain (promoter-bot)

  7. squid-protocol commented on Nov 14, 2026

    @squid-protocol
    OwnerAuthor

    #8457 merged: a partial slice of [c:849065de] "Job runner: submit a JCL deck through a card reader (socket device) and capture the JES2 job log: step return codes, IEF142I / IEF202I "step was not executed" messages, dataset dispositions, and S"; left: condcode parser exists; the runner itself is not built (promoter-bot)

  8. 112 remaining items

  9. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    #9085 merged: a partial slice of [c:f8795ef7] "Probe run: run the era-compatible subset of the IBM-written scenarios (tests/equivalence/jcl fixture, plus the new tier-1 answers). That covers COND (including EVEN / ONLY), PROC symbolics and ove"; left: run DUPJOB E1 / E2 (duplicate symbolic) and SSJOB E2 (nullified symbol, SET dropped) on the box; every other unrun scenario needs a construct 3.8J lacks. (promoter-bot)

  10. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8414-20261123T0514Z (host nyx) ended without a PR. PR #9085 merged already; no change

  11. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8414-20261123T0457Z (host nyx) ended without a PR. PR #9085 already merged; checklist partial. Env fault: example-health-apis corpus empty on box (2 corpus-dependent tests fail). Next slice DUPJOB/SSJOB E2.

  12. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8414-20261123T0625Z (host nyx) ended without a PR. No slice left on #8414: only Q16 owner/counsel confirmation open; nightly brief was #8885 work, already on main. No PR.

  13. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8414-20261123T0648Z (host nyx) ended without a PR. No PR: only Q16 counsel item (c:14dafc19) open; results stay internal-only

  14. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-23T19:21Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  15. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    Owner ruling 2026-11-23 (Q16, MVS 3.8J only): proceed without counsel.

    • Internal validation with MVS 3.8J (built from IBM's original distribution tapes, IBM base components only) is approved.
    • Results may be published, framed as: MVS 3.8J (a 1981 IBM release distributed without a copyright notice, run under the Hercules emulator), not z/OS, and with no implied IBM endorsement.
    • Unchanged: never redistribute the MVS 3.8J system image; never run z/OS on Hercules; TK4-/TK5 add-ons stay out.
    • This does not settle z/OS calibration oracle: run the probe corpus and HFP captures on real Enterprise COBOL (blocked: access + legal Q16) #6492's half of Q16 (real z/OS access): that is a different licence and stays open.

    Owner (Joe) 2026-11-23 in chat via Claude.

  16. squid-protocol commented on Nov 23, 2026

    @squid-protocol
    OwnerAuthor

    All checklist items done; Q16 settled by the owner ruling above (MVS 3.8J only). Publishing an MVS 3.8J results write-up, if wanted, is a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:nyxenhancementlegacy-modernizationscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions