Repository navigation
IKJEFT01: RUN PROGRAM runs with its PARMS; other TSO / DSN commands refused by name (Part of #4890) - #7540
Merged
Conversation
…re refused by name (Part of #4890) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
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.
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.RUN PROGRAMstep 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 asteps.utilityTODO 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.
region,prog,psbis still passed to the program as its PARM. No burned program needs it.CALL 'lib(x)'and SYSTSIN as a dataset: not parsed (no deck). Burned: none.PARMS('/ALIGN(MID)')(install JCL) needs a live Db2: see Remaining slices.Remaining slices
RUN PROGRAM ... PARMSstep (CBSA db2jcl, DSNTEP2).Gates
pr_gates --fast9/9,audit_checkclear,tests/cobol_mainframe -k batch|job_flow|sysin|tso375 passed. Ratchets and ground-truth ledger: see the PR checks.🤖 Generated with Claude Code