Skip to content

CICS coverage: data-driven XCTL / LINK targets (menu tables) #3493

Closed

Description

@squid-protocol

Problem

Pseudo-conversational navigation is often data-driven. For example, CardDemo's menu copybook holds an array of program names, and the program does XCTL PROGRAM(CDEMO-MENU-OPT-PGMNAME(WS-OPTION)). The target then stays an unresolved variable, and the application's navigation graph is missing.

Proposal

When a LINK / XCTL / START target is a subscripted item of an OCCURS table whose elements carry VALUEs (directly, or through a REDEFINES of a VALUE-filled FILLER list), resolve it to the set of candidate programs, marked resolution=table. Surface the result in GalaxyIR as a navigation graph: transaction → map → option → program.

Acceptance (ground truth, as for every channel since #3210)

  • An independent draft reader in tests/tools/cobol_answer_key.py, which must not import the engine.
  • A new or extended answer-key section, drafted for every pinned corpus that has the construct.
  • A blind census, with every disagreement ruled against the source.
  • A scored field in tests/tools/ground_truth_ledger.py.
  • The channel follows gitgalaxy/core/how_to_add_a_fact_channel.md.

Part of #3489.

🤖 Generated with Claude Code

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

    era:2scope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions