Skip to content

COBOL translator: CICS command breadth (START/RETRIEVE, channels/containers, GETMAIN, LOAD, CONVERSE, INQUIRE, ASSIGN, counters, HANDLE ABEND PROGRAM) #4270

Description

@squid-protocol

Problem

The det CICS translator models roughly 25 of the 60+ commonly used commands; any other verb is refused.

Evidence (file:line, origin/main)

  • gitgalaxy/tools/cobol_to_java/det/cics.py:652: EXEC CICS {verb} not modelled.
  • cics.py:522: "LINK with CHANNEL / INPUTMSG" refused.
  • cics.py:612: only some ASSIGN options accepted, others raise ASSIGN {k}.
  • cics.py:501: "named counters are not modelled" (DEFINE/UPDATE COUNTER).
  • cics.py:585: "HANDLE ABEND PROGRAM" refused.
  • Verbs not seen handled: START/RETRIEVE, PUT/GET CONTAINER, GETMAIN/FREEMAIN, LOAD/RELEASE, CONVERSE, WEB/URIMAP commands, INQUIRE beyond PROGRAM.
  • The engine already derives these as facts (async CICS, Mainframe fact channel: async CICS: RUN/START TRANSID children, FETCH joins, RETRIEVE #3449), so the translator lags the engine.

Impact on a real estate

Any program using one unmodelled command cannot be translated or proven; channel/container and START/RETRIEVE are the norm in modern CICS applications.

Acceptance criteria

Out of scope

Web services / URIMAP / SOAP pipelines (separate issue once the above lands).

Found during: 2026-10-03 COBOL engine/translator audit

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    core-engine
    legacy-modernization
    priority: high
    on Oct 3, 2026
  2. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Coverage census (2026-10-05), to help prioritise this issue. 131 COBOL CICS programs.

    • GET / PUT CONTAINER: 23 programs each (16 non-burned).
    • Channels and containers overall: 24 programs (16 non-burned).
    • START / RETRIEVE / RUN / FETCH: 10 programs (3 non-burned).
    • ASSIGN STARTCODE: 4.
    • GETMAIN / FREEMAIN / LOAD: only 2 COBOL programs and none non-burned. LOAD is heavy in PL/I (62 programs).
    • WEB SEND / CONVERSE / OPEN: 6 programs each (deferred by this issue).

    Suggested order: containers and channels (LINK/XCTL/RETURN CHANNEL, GET/PUT CONTAINER), then START/RETRIEVE, then ASSIGN options. GETMAIN/LOAD last. The non-burned sample is dominated by IBM CICS demo repos, which over-represent channels and containers, so weigh accordingly.

    Constructs the census found with no issue are filed separately: SEND CONTROL / RECEIVE, HANDLE AID / IGNORE CONDITION, and smaller gaps. Silent divergences are filed as their own issue.

  3. 92 remaining items

  4. added
    needs:corpus
    needs:docker
    and removed on Oct 18, 2026
  5. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

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

  6. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    All four acceptance items are met (verb census #4587/#4594, modelled verbs, equivalence cases #5473, register entries #5303); #5599 pins that every command a burned estate issues is modelled or refused by name. Remaining refused verbs are frontier siblings no burned program uses; web services stay out of scope per the issue.

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:melekcore-engineenhancementera:4legacy-modernizationneeds:corpusneeds:dockerpriority: highscope:coretier:era-core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions