Repository navigation
det: model a COMMAREA OCCURS DTO property, dto-property (Part of #5565) - #5567
Merged
Merged
Conversation
…rt of #5565) An elementary item's own OCCURS is a List<T> DTO property; the codec now places occurrence i at offset + i * width instead of refusing it. CardDemo COPAUS0C is translated whole; COPAUS1C keeps only its IMS REPL hole (#4893). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
5 tasks done
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 03:23
squid-protocol
enabled auto-merge (squash)
October 19, 2026 03:32
Contributor
This was referenced Oct 20, 2026
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 #5565 (first box only:
dto-property).Design: modelled, not refused.
det/cics.pyreads the DTO's// OCCURS n TIMESline, makes the property oneLeafofnitems (layoutbytesis the whole table, so one occurrence is bytes / n; a table whose bytes are not n equal items, a List of an unconvertible type, or a List with no OCCURS line is still refused by name), and the COMMAREA codec loops: occurrence i atoffset + i * width(table_in/table_out).Dto.extentcounts every occurrence.Before / after holes (
det_survey.py, CardDemo, burned; before = origin/main, after = this branch, both compile):cdemoCpvsPaukeyPrevPg: a property the port cannot convert)EXEC DLI REPL)EXEC DLI REPL, #4893)Evidence level: translated only (and javac-compiled). No equivalence case runs either program, so the new codec is not proven against GnuCOBOL here; the unit test pins the emitted offsets. Nothing about any existing proof is loosened (
portsratchet passes: no existing port moved).Class table (OCCURS in a COMMAREA DTO): elementary item with own OCCURS (String / Integer / Long / Short / BigDecimal): handled here. Group OCCURS (fields listed once, "appear once"): already handled (#4765). POINTER under OCCURS: refused by name (#4270). See Sibling gaps in the report.
refusal_map.json:dto-propertynote narrowed to what is still refused, owner -> #5565. The committed evidence-report fixture still shows the old hole until the nightly refresh;test_support_matrix.pystays green.Gates:
pr_gates --fast6/6,--ratchets8/8, pre-PR tree-wide guards +test_support_matrix.py+ new test green. Not run: Docker/e2e equivalence (needs a case; none exists for COPAUS).Remaining slices (other boxes of #5565):
unbound-file; scanner-input gaps (stand-in copybook inventory, CALL-target category, rule-catalogue feature keys).🤖 Generated with Claude Code