Skip to content

IKJEFT01: RUN PROGRAM runs with its PARMS; other TSO / DSN commands refused by name (Part of #4890) - #7540

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4890-20261102T1145Z
Nov 2, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4890-20261102T1145Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4890 (batch utilities). Next unmodelled utility: IKJEFT01 (TSO batch / Db2 DSN + RUN PROGRAM).

What changed

  • det/tso.py: parses an IKJEFT01 SYSTSIN (DSN SYSTEM(ssid) / RUN PROGRAM(x) PLAN LIB PARMS('..') / END, - / + continuation). BIND, REBIND, FREE, RETRY, a second RUN or DSN, other RUN keywords and a PARMS that is not one quoted string are refused by name.
  • Forge: the program a RUN PROGRAM step runs now gets the command's PARMS as its PARM. Before, the EXEC PARM (the TSO command line) was passed to it and PARMS was dropped. A refused deck becomes a steps.utility TODO instead of running the program.
  • job_flow: SYSTSIN in-stream bodies are kept (_CONTROL_DDS).
  • F4.md: two IKJEFT01 rows. Test: test_batch_tso_4890.py.

Evidence level

Translated and forge-lowered; not executed-equivalent. SSID, PLAN and LIB are recorded, not compared (no Db2 in the oracle). Oracle: GnuCOBOL plus our stub, not z/OS.

Level estate-crucible (policy 5)

Already built: estate-crucible Batch Badlands (BDLD, H-0064..H-0075), first-run number measured once in #7537 (pin bump to v0.6.0). Not re-measured or re-pinned here.

Cross-repo

Companion: estate-crucible v0.6.0 via #7537 (pin bump). Either merges first; nothing re-runs here from it.

Class / Sibling gaps

Class: a runner step whose own operand string reaches the program wrongly or is dropped.

  • DFSRRC00 (IMS): EXEC PARM region,prog,psb is still passed to the program as its PARM. No burned program needs it.
  • IKJEFT01 CALL 'lib(x)' and SYSTSIN as a dataset: not parsed (no deck). Burned: none.
  • CBSA DSNTEP2 PARMS('/ALIGN(MID)') (install JCL) needs a live Db2: see Remaining slices.

Remaining slices

  • A Db2 execution case for a burned RUN PROGRAM ... PARMS step (CBSA db2jcl, DSNTEP2).
  • DFSRRC00 PARM split into region / program / PSB.

Gates

pr_gates --fast 9/9, audit_check clear, tests/cobol_mainframe -k batch|job_flow|sysin|tso 375 passed. Ratchets and ground-truth ledger: see the PR checks.

🤖 Generated with Claude Code

…re refused by name (Part of #4890)

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 2, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 2, 2026 12:11
@squid-shepherd

squid-shepherd Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 2, 2026 12:16
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit d175aea into main Nov 2, 2026
113 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4890-20261102T1145Z branch November 2, 2026 12:52
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