Skip to content

Engine: DEFINE PROGRAM's TRANSID attribute is read as a transaction route, so CardDemo's CC00 is left unresolved #4503

Closed

Description

@squid-protocol

Problem

GalaxyIR._transaction_program (gitgalaxy/tools/cobol_to_cobol/galaxy_ir.py:2256) returns a transaction's program only when transaction_map() gives exactly one resolves_to. The map also counts the TRANSID(...) attribute of DEFINE PROGRAM. In CICS that attribute names the mirror transaction for a remote DPL request; it does not route a transaction to the program. Only DEFINE TRANSACTION(x) PROGRAM(p) does that. A program definition that carries TRANSID(x) therefore shows up as a false second owner of x, and x is left unresolved.

Evidence (CardDemo, app/csd/CARDDEMO.CSD)

Acceptance criteria

  • transaction_map() / _transaction_program route a transid only from DEFINE TRANSACTION ... PROGRAM(...) (and other real routing sources). DEFINE PROGRAM ... TRANSID(...) is kept as a program attribute, not a route.
  • CardDemo CC00 resolves to COSGN00C; a test pins it.
  • Ratchets moved by the fix are updated in the same PR (golden masters, ground-truth ledger, fact cross-check ledger, completeness pins).

Found by: the #4464 worker (PR #4499).

🤖 Generated with Claude Code

Activity

  1. added
    bug
    core-engine
    legacy-modernization
    priority: high
    on Oct 5, 2026
  2. added
    scope:core
    era:2
    on Oct 16, 2026
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

    bugcore-engineera:2legacy-modernizationpriority: highscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions