Repository navigation
det/CICS: windowed Storage, ADDRESS OF a subordinate or WORKING-STORAGE item (Part of #4771) - #5678
Merged
Merged
Conversation
…GE item (Part of #4771) Storage.base is the start of a record in its bytes; Field.at() / offset() are base + off, so a record set onto an item (ZECS001's ZF-DATA) reads and writes through the window. CicsTask handles carry a block offset. LINKAGE 01 records keep their emitted calls: no generated port changes. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 19:42
squid-protocol
enabled auto-merge (squash)
October 19, 2026 19:45
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.
Summary
Slice 1 of #4771 item
[c:c25c63af]: a record can now be a window onto an item inside a larger storage.Storage.base(window start);Field.at()/offset()=base + off, so every reader honours the window. The mechanicalx.off->x.at()inCobol,Codec,Zoned,Hfpis needed because those readoffdirectly; it must be atomic with theFieldchange.DetCics.setAddressOfItem/setPointerToItem;CicsTaskhandles carry a block offset (addressOf(bytes, off),offsetAt).gen.pyaddress_item: ADDRESS OF a subordinate item or WORKING-STORAGE record translates (ZECS001ZF-DATA, lines 1098 and 1195 no longer holes). A table element or another section is still refused by name. LINKAGE 01 records keep their emitted calls.cobolrt_rules.jsonupdated.Checklist: partial [c:c25c63af] -- pointer arithmetic (REDEFINES numeric view), 4- vs 8-byte POINTER, CALL ZUIDSTCK (stays refused); ZECS001 pointer holes are not yet 0
Evidence
test_pointer_lane_4771.py+test_cobolrt_rules.py: 76 pass; new Java test runs every field kind through a window over a realCicsTask.tests/cobol_mainframe+tests/cics_crucible: 6460 passed, 623 skipped (one failure, the rules catalogue, fixed here).pr_gates --fast6/6,--ratchets8/8.det_port.py check: all 138 ports list CHANGED, but only the shared runtime text (Cobol/Field/Storage/DetCics/CicsTask/Hfp); no generated file moved. Re-proved zecs-zecs000, carddemo-menu, cbsa-getscode PROVED. zecs-zecs003 and mortgage-mpmt are JAVA FAILED on existing run-time Hole guards (ZC##FILEname, C6 exponentiation), not this change. The other 133 ports were not re-proved here.Sibling gaps
CALL ZUIDSTCK(1244): source not in the corpus; refused by name.Remaining slices
Pointer arithmetic + the 4/8-byte POINTER decision (C9, owner); then recount ZECS001 holes.
Lessons for agents
DetCicsmethod must be added to a rule'smethodsindocs/language_status/cobolrt_rules.json, ortest_the_catalogue_matches_the_runtimefails.cobolrttext makesdet_port.py checklist every port CHANGED; look at which files differ, not the count.🤖 Generated with Claude Code