Skip to content

DFSRRC00: PARM split into region / program / PSB, the program runs with no PARM (Part of #4890) - #7543

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4890. Sibling of #7540 (IKJEFT01 RUN PROGRAM / PARMS).

What changed

A DFSRRC00 step's PARM='region,program,psb' is IMS's own region string, but the batch forge handed the whole string to the program as its PARM. Now det/ims_region.py splits it into region type / program / PSB; the program runs with no PARM (IMS passes PCBs, as det/program.py dli_pcbs already assumes), and anything the model does not read is refused by name through steps.utility.

  • gitgalaxy/tools/cobol_to_java/det/ims_region.py (new): parse, Region.
  • cobol_to_java_batch_forge.py: _ims_refusal, hooked in _through_runner for via == "DFSRRC00" (the existing _step_todo / _tasklet runner-refusal path from IKJEFT01: RUN PROGRAM runs with its PARMS; other TSO / DSN commands refused by name (Part of #4890) #7540 renders it).
  • tests/cobol_mainframe/test_batch_ims_region_4890.py: DLI / DBB / BMP, empty PSB, PARM positions 4+, other region type, & symbol, missing PARM, bad names, program mismatch.
  • docs/language_status/register/F4.md: two rows.

Evidence level: translated (runs as program, no PARM, or refused by name with reason); no executed-equivalence claim (no IMS in the oracle; region type and PSB recorded, not compared). Assumption: the IMS region types (DLI / DBB / BMP) and "position 4 on are region options" are from memory of IBM's DFSRRC00 parameter list, not re-read offline; recorded in the register row.

Class / Sibling gaps

Class: a runner step (IKJEFT01 / IKJEFT1B / DFSRRC00 / DFSRRC0) whose EXEC PARM or control deck is the runner's own command line rather than the program's parameter. Members: IKJEFT01 RUN PROGRAM (done, #7540); IKJEFT1B (same handler path, covered by RUNNERS); DFSRRC00 (this PR, handled).
Sibling gaps:

  • DFSRRC0 (alias in RUNNERS): _through_runner only sees it via jcl_runners, which reads DFSRRC00 only, so it stays "no PARM program" unresolved. Needs a jcl_runners.py reader change (different mechanism).
  • IMS region options in PARM positions 4+ (IMSID, buffers, DBRC): refused, not modelled; needs the IMS control-region model.
  • PARM.step= overrides on a procedure's DFSRRC00 step: not inspected here.
  • DFSRRC00 steps reached through the det program run (program.py dli_pcbs) are unchanged.

Remaining slices

None in this slice's scope beyond the sibling gaps above.

Gates

Targeted tests: test_batch_ims_region_4890.py, test_batch_tso_4890.py, test_batch_runners.py pass (27); tree-wide guards pass (291). pr_gates --fast: see report. Ratchets / golden not run: no parsing, signature or scanner logic changed (forge and det only).

🤖 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 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 13:15
@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 13:20
@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 f2b7205 into main Nov 2, 2026
93 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4890-20261102T1301Z branch November 2, 2026 14:07
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