Repository navigation
det layout: an I-O-CONTROL clause on the header row is read past (Part of #8412) - #9047
Merged
Merged
Conversation
… past (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
13 tasks done
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.
What
Checklist item [c:37025b61] (I-O-CONTROL RERUN refusal) of #8412. Verified on main first: the BDLDCKP shape (
I-O-CONTROL.header alone,RERUN ON SYSCKPT EVERY 1000 RECORDS OF F.below) is already read past (#8577, pinned end to end by #9037). Probing the IBM clause forms found one still refused: a clause on the same row as the header,I-O-CONTROL. RERUN ..., gave "DATA DIVISION does not parse".det/layout.py::_data_onlynow blanks the header when a clause follows it on the row, then reads the clause past as before (accepted with no effect on layout, as IBM documents). 4 authored cases (RERUN, SAME AREA, END OF REEL + SAME SORT-MERGE AREA, MULTIPLE FILE TAPE); they fail without the fix (3 of 4 verified) and pass with it.Probed and already fine on main: RERUN EVERY END OF REEL / END OF UNIT / n CLOCK-UNITS / condition-name, no ON clause, lowercase, SAME SORT-MERGE AREA, two clauses on one row, APPLY CORE-INDEX.
Checklist: done [c:37025b61]
Class / Sibling gaps
Class: I-O-CONTROL paragraph clauses (RERUN, SAME [RECORD|SORT|SORT-MERGE] AREA, MULTIPLE FILE TAPE, APPLY) reaching the det layout reader, by clause form and by row position. Members handled: every clause kind in every form probed above, now in both header-alone and header-row positions. Sibling gaps: none in this class. A clause missing its terminating period is invalid COBOL and stays refused by name (DATA DIVISION does not parse). Remaining #8412 lines (not this item): the OWNER (licence) product-copybook stand-ins line.
Gates
pr_gates --fast9/9 pass (ruff/mypy local versions differ from CI pins, noted by the tool; it used the pinned ruff). det layout only: no scanner parsing change, so no golden re-bless. Ratchets not run (no engine-scan, port or ledger input changed).Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code