Repository navigation
DFSRRC00: PARM split into region / program / PSB, the program runs with no PARM (Part of #4890) - #7543
Merged
Conversation
…th no PARM (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. Sibling of #7540 (IKJEFT01 RUN PROGRAM / PARMS).
What changed
A
DFSRRC00step'sPARM='region,program,psb'is IMS's own region string, but the batch forge handed the whole string to the program as its PARM. Nowdet/ims_region.pysplits it into region type / program / PSB; the program runs with no PARM (IMS passes PCBs, asdet/program.pydli_pcbsalready assumes), and anything the model does not read is refused by name throughsteps.utility.gitgalaxy/tools/cobol_to_java/det/ims_region.py(new):parse,Region.cobol_to_java_batch_forge.py:_ims_refusal, hooked in_through_runnerforvia == "DFSRRC00"(the existing_step_todo/_taskletrunner-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 inRUNNERS):_through_runneronly sees it viajcl_runners, which readsDFSRRC00only, so it stays "no PARM program" unresolved. Needs ajcl_runners.pyreader change (different mechanism).PARM.step=overrides on a procedure's DFSRRC00 step: not inspected here.program.pydli_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.pypass (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