Skip to content

Siblings of #4771: CICS pointer lane (SET(ptr) commands, pointer arithmetic, ADDRESS OF subordinate) #5042

Closed

Description

@squid-protocol

Siblings of #4771 (PR #5041, register X47). Class: CICS commands and COBOL statements that acquire or move a POINTER to task storage (the pointer lane). #5041 models GETMAIN/FREEMAIN SET/DATAPOINTER, WEB RECEIVE SET and SET ADDRESS OF on a LINKAGE 01 record; these members are still refused:

  • terminal RECEIVE SET(ptr) (still refused as SET_POINTER)
  • RETRIEVE SET(ptr)
  • GET CONTAINER SET(ptr)
  • file READ ... SET(ptr) (and READNEXT/READPREV SET)
  • LOAD PROGRAM SET(ptr)
  • pointer arithmetic: a REDEFINES over a POINTER, ADD n TO the address (ZECS001 CACHE-ADDRESS-X)
  • ADDRESS OF a subordinate item (ZECS001 ZF-DATA)
  • GETMAIN64 / FREEMAIN64 (refused by name; listed for completeness)

Out of this issue: CALL ZUIDSTCK and the ZC##FILE templates stay on #4771.
Each box: IBM text with a source in the register (X47 or a new entry), both runtimes (CicsTask, stub C) answer the same step lists, refusals by name. Same mechanism as #5041: the block/handle model in CicsTask/DetCics.

Siblings: #4771

Activity

  1. added
    enhancement
    legacy-modernization
    priority: low
    on Oct 13, 2026
  2. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Crucible-first backfill steps (cics-crucible, Sonnet ~20-30 min each)

    Owner 2026-10-14: these cases are written as churn backfill while gitgalaxy CI is busy. cics-crucible has no gating CI, so a PR there costs almost nothing on the shared runner pool. Each step is one case with expected logs hand-derived from cited IBM docs (cics-crucible AGENTS.md), gated by tools/validate.py, as one PR there. The tag and gitgalaxy pin bump are a separate step that needs owner OK.

    Already covered: hc-terminal-receive/set-address (RECEIVE SET into ADDRESS OF a LINKAGE 01). Nothing covers GETMAIN / FREEMAIN (#5041).

    • C1 ca-getmain-pointer (cics-crucible#28) [sonnet]: GETMAIN SET(ptr) FLENGTH INITIMG, then SET ADDRESS OF, then FREEMAIN; FLENGTH 0 gives LENGERR (find the RESP2). Also pointer arithmetic (a REDEFINES as binary, ADD n) and ADDRESS OF a subordinate item, read back via breadcrumb. Cite: "GETMAIN", "FREEMAIN", and Enterprise COBOL LR "ADDRESS OF" / "SET for pointer". Depends: none.
    • C2 ca-receive-retrieve-set (cics-crucible#29) [sonnet]: RECEIVE SET into a POINTER variable; RETRIEVE SET(ptr) LENGTH from a START FROM. Scenarios: short input; LENGTH equal to the FROM; ENDDATA. Cite: "RECEIVE (3270 logical)", "RETRIEVE". Depends: none.
    • C3 ca-get-container-set (cics-crucible#30) [sonnet]: GET CONTAINER SET(ptr) FLENGTH. A PUT that changes the container while the old pointer is held: avoid it, or cite IBM. Cite: "GET CONTAINER (CHANNEL)". Depends: none.
    • C4 hc-file-read-set (cics-crucible#34) [sonnet]: READ SET and STARTBR / READNEXT / READPREV SET over seeded records; NOTFND; ENDFILE. Cite: "READ", "READNEXT", "READPREV". Depends: det/CICS: old-style commands refused whole -- ADDRESS COMMAREA/CWA/TWA, READQ TD, UNLOCK, READ SET #5079 C5 (the first file case).
    • C5 ca-load-set (cics-crucible#41) [sonnet, optional, low value]: LOAD PROGRAM SET LENGTH: NORMAL for a defined program, PGMIDERR for an undefined one (the loaded bytes go under Avoided). Cite: "LOAD".

    Release (shared): batch the merged case PRs, run gitgalaxy's cics_crucible runner against crucible main and review the baseline ledger. With owner OK, tag the next version after v0.5.0, bump PINNED_REF in tests/_cics_crucible_pin.py, and re-baseline: one ci-lane item when CI is calm.

  3. squid-protocol commented on Oct 15, 2026

    @squid-protocol
    OwnerAuthor

    PR #5175 (register X58) covers: terminal RECEIVE SET(ptr), RETRIEVE SET(ptr), GET CONTAINER SET(ptr), READ / READNEXT / READPREV SET(ptr), plus READQ TS SET(ptr) (same mechanism). GETMAIN64 / FREEMAIN64 stay refused by name, with tests.

    Class members added from that review (same class, pointer lane), still refused:

    • SEND MAP / RECEIVE MAP / SEND CONTROL SET(ptr) (BMS buffer, different storage mechanism)
    • GET CONTAINER SET with BYTEOFFSET; GET64 CONTAINER
    • READ SET with RBA / RRN / XRBA

    Still open from the original list: LOAD PROGRAM SET, pointer arithmetic (REDEFINES over a POINTER), ADDRESS OF a subordinate item.

  4. squid-protocol commented on Oct 15, 2026

    @squid-protocol
    OwnerAuthor

    More members of this class, found in the review of PR #5203 (#5197: pointer / BLL cell compared with NULL or ZERO). Still refused by name; same pointer-relation mechanism (det/gen.py rel_null / rel, register X56):

    • Pointer compared with pointer (IF PTR-A = PTR-B, NOT =): IBM allows = / NOT = between two pointers; needs a defined handle equality.
    • ADDRESS OF x compared with NULL (IF ADDRESS OF REC = NULL).
    • Abbreviated combined relation with a NULL object (IF PTR = NULL OR NULLS / IF A = NULL OR B forms).

    Siblings: #5197

  5. squid-protocol commented on Oct 15, 2026

    @squid-protocol
    OwnerAuthor

    Two more members from the #5119 BLL review (PR #5212, which lowers MOVE ZERO/LOW-VALUES TO cell as SET cell TO NULL); both still refused by name:

    • Pointer = pointer compare: IF cell = other-cell (BLL cells lowered to POINTERs, X47/X56); det has no pointer-to-pointer compare
    • IF cell = LOW-VALUES (a pointer compared against a figurative other than ZERO/NULL)

    Siblings: #5119

  6. added
    scope:sweep
    on Oct 16, 2026
  7. 8 remaining items

  8. squid-protocol commented on Oct 21, 2026

    @squid-protocol
    OwnerAuthor

    Siblings from #5856 / PR #5868 (batch pointer lane, DetMvs, register A2). Same mechanism, batch side; no burned-estate program needs them today (CardDemo has none left; other burned estates not swept):

    • batch SET ADDRESS OF x TO ADDRESS OF y (still a translator hole outside CICS)
    • batch SET ptr TO ADDRESS OF x (still a translator hole outside CICS)
  9. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5042-20261023T1236Z (host nyx) ended without a PR. No PR: remaining #5042 boxes refused (no burned use); other boxes done via #5041/#5175/#5729 etc. Issue left open; owner can tick lagging boxes.

  10. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5042-20261024T1640Z (host nyx) ended without a PR. No PR: pointer arithmetic/ADDRESS OF subordinate already modelled (#5706/#5718, X47, test_pointer_lane_4771); LOAD SET, GETMAIN64/FREEMAIN64 refused by name with no burned use. Owner can tick those boxes; remaining siblings have no burned consumer.

  11. squid-protocol commented on Oct 30, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-10-30T12:42Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  12. squid-protocol commented on Oct 30, 2026

    @squid-protocol
    OwnerAuthor

    Closing: every box is now modelled (#5041, #5175, #5299, #5706/#5718, #5729) or refused by name, and PR #7143 measured that no burned-estate program reaches the refused members (LOAD SET, 64-bit storage, BMS SET buffers, RBA/RRN/XRBA SET, BYTEOFFSET). They stay frontier; reopen when a burned consumer appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:melekenhancementera:3legacy-modernizationneeds:dockerpriority: lowscope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions