Repository navigation
det/CICS: OS/VS COBOL BLL cells and SERVICE RELOAD on the pointer lane (Part of #5119) - #5159
Merged
Merged
Conversation
…ointer lane (WIP, Part of #5119) IBM's own conversion to VS COBOL II (CICS/MVS 2.1.2 APRM SC33-0512-1, pp. 21-29) applied before either side reads the program (det/bll.py): cells become POINTERs, SERVICE RELOAD record becomes SET ADDRESS OF record TO cell, ADD 4096 secondary cells go, MOVE cell TO cell is SET. Register X56. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…declared fullword) (Part of #5119) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 14, 2026 22:36
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 14, 2026 22:38
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.
Part of #5119 (era 1: OS/VS COBOL addressing). Register X56.
Design
BLL cells map onto the pointer lane (#5041 / X47) with IBM's own conversion as the mechanism. The conversion is in the CICS/MVS 2.1.2 Application Programmer's Reference, SC33-0512-1: "Base locator for linkage (BLL)", pp. 21-23; "Converting to VS COBOL II", p. 29; Figure 3, p. 26.
det/bll.pyrewrites the program before either side reads it:USAGE POINTERitems in WORKING-STORAGE; the FILLER and the long record's secondary cells are dropped.SET(cell)staysSET(pointer).SERVICE RELOAD recordbecomesSET ADDRESS OF record TO cell, at the same place. IBM's timing is kept: the record is addressed anew only where the program reloads it.ADD 4096 cell GIVING next-cellis dropped.MOVE cell TO cellbecomesSET cell TO cell.The rewrite runs in two places:
program._translate;equivalence_cics.translate.So both sides run the same lowered program on the existing lane. No runtime changes: DetCics, CicsTask and
ggcics.care untouched.Class table: constructs that address a LINKAGE record through a BLL cell
ADD 4096secondary cells reset before the reloadEvery refusal reads "OS/VS COBOL BLL addressing: …: not modelled". They are mapped in
refusal_map.jsonasbll-cells, so the support matrix names them.Evidence
tests/cobol_mainframe/test_bll_cells_5119.py:translate()lowers the same program.HEAD******TAIL-BYTES.Gates (local)
pr_gates --fast: 6/6 pass.pr_gates --ratchets: 7/7 pass (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth).det_port.py checkagainst origin/main: 112/112 ports unchanged, so no re-proof is needed.ruff_audit/mypy_audit --ci: no new findings.Cross-repo
None. Expect a
refusal_map.jsonconflict with #5121, which also adds an entry; merge main if it lands first.🤖 Generated with Claude Code