Repository navigation
det: ADDRESS COMMAREA in a program with no 01 DFHCOMMAREA (Part of #6876) - #7048
Merged
Merged
Conversation
…0000' for a task with no COMMAREA (Part of #6876) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
8 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.
Part of #6876. ADDRESS COMMAREA in a program that names no
01 DFHCOMMAREAno longer stops the det translator. A task with no COMMAREA (EIBCALEN 0) gets IBM's X'FF000000', which the program'sPIC X(4)byte view tests (the #6971 test,DetCics.isNoCommareaAddress); a task run with a COMMAREA is refused by name at run time (its bytes are the caller's, not stored by such a program).Checklist: partial [c:36bb664b] -- CAADDR, CAADSB, CAEBCA, CAEBSB now translate whole (34/34, 12/12, 40/40, 16/16 statements, 0 holes); CAGMZ still needs GETMAIN without INITIMG, FREEMAIN DATA and the numeric view read as a number
What changed
det/cics.pyaddress(): no 01 DFHCOMMAREA emitsDetCics.addressNoCommarea(task, ptr, EIBCALEN)instead of a hole.DetCics.java:NO_COMMAREA(0xFF000000, a handle no block holds: SET ADDRESS OF to it is refused as an unknown pointer),addressNoCommarea, andisNoCommareaAddressnow reads the handle.docs/language_status/cobolrt_rules.json:RT-CICS-ADDRESSlists the new method.tests/cobol_mainframe/test_address_5079.py: the "no LINKAGE 01 DFHCOMMAREA" hole row becomes a translates-whole test; the JDK test covers the sentinel, SET ADDRESS OF to it, and the COMMAREA refusal.Class / Sibling gaps
Class: ADDRESS COMMAREA / the pointer-overlay holes of #5042, members CAADDR, CAADSB, CAEBCA, CAEBSB (done here, det translator and runtime), CAGMZ (open). Not done: (1) a program with a 01 DFHCOMMAREA run with EIBCALEN 0 still refuses in
addressCommarea, though IBM gives X'FF000000' there too; no case in the crucible needs it. (2) A program with no 01 DFHCOMMAREA run WITH a COMMAREA (CAADSB / CAEBSB's LINK scenarios) is refused at run time, not modelled: the LINK caller's bytes would need to be addressed throughtask.linkArea(). (3) The cobol-stub side (equivalence_cics.translate,ggcics.cGGCADDR) still refuses "no LINKAGE 01 DFHCOMMAREA", so the crucible baseline rows forca-address-*stayunsupportedthere. (4) CAGMZ: GETMAIN without INITIMG, FREEMAIN DATA, numeric viewWS-PTR2-N. The other checklist classes are untouched.Remaining slices
equivalence_cics.pyandggcics.c(2-3 files), then re-prove the fourca-address-*cases.task.linkArea()for CAADSB / CAEBSB.Gates
pr_gates --fast9/9;pr_gates --ratchets9/9 (ports 225 s:det_port.py checkis dirty by theDetCics.javachange only, no port calls the new method); tree-wide guards 265 passed;test_address_5079,test_pointer_lane_4771,test_cobolrt_rulespass, no skips. Not re-proved: the det ports thatDetCics.javamoves; none callsaddressNoCommareaor readsNO_COMMAREA(the only changed behaviour isisNoCommareaAddressfrom always false to a handle test, which no port reached before #6971 translated it).Cross-repo: none.
🤖 Generated with Claude Code