You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
det: XCTL with a SET ADDRESS OF / pointer alias of a LINKed program's DFHCOMMAREA is not refused (X39 sibling) #4957
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Sibling of #4816 (PR #4955), class: COMMAREA addressability across LINK/XCTL/RETURN chains.
Gap. PR #4955's det check (det/cics.pyin_dfhcommarea) follows only the record the XCTL COMMAREA operand names. A LINKed program that takes the DFHCOMMAREA's address (SET ADDRESS OF X TO ADDRESS OF DFHCOMMAREA, a POINTER, a BASED/LINKAGE alias) and XCTLs with the alias passes the caller's storage without being refused (register X39), so the target runs on a copy silently.
IBM. As X39: copy vs caller's storage on XCTL is not documented. Never assumed.
Done when. An XCTL whose COMMAREA is an alias of a LINKed program's DFHCOMMAREA is refused by name (or the alias forms are refused at translation), tests per alias form (SET ADDRESS OF, POINTER, LINKAGE record re-based).
member
status
det LINKed program XCTLs its DFHCOMMAREA (whole / field)
Acceptance met by PR #5021 (merged): an XCTL of any LINKAGE 01 record (the re-based LINKAGE form, whole or field) is now refused by name under X39, and the SET ADDRESS OF / POINTER alias forms are refused at translation (the generic "SET ADDRESS OF (pointers)" hole), each pinned by a test in tests/cobol_mainframe/test_link_xctl_alias_4957.py. That is the "or the alias forms are refused at translation" branch of Done-when. Closing; if those pointer forms are translated later, they must take the same X39 check.
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
det/CICS: an XCTL of any LINKAGE 01 record is marked, so a LINKed pro…
squid-protocol commentedon Oct 13, 2026
Acceptance met by PR #5021 (merged): an XCTL of any LINKAGE 01 record (the re-based LINKAGE form, whole or field) is now refused by name under X39, and the SET ADDRESS OF / POINTER alias forms are refused at translation (the generic "SET ADDRESS OF (pointers)" hole), each pinned by a test in tests/cobol_mainframe/test_link_xctl_alias_4957.py. That is the "or the alias forms are refused at translation" branch of Done-when. Closing; if those pointer forms are translated later, they must take the same X39 check.
pointer lane: SET ADDRESS OF alias forms now translate; X39 and the #…
CICS: the pointer lane -- WEB RECEIVE SET, GETMAIN / FREEMAIN, SET AD…