Skip to content

Engine: labeled candidate join for installation-symbol dataset names (@BANK_PREFIX@, <USRHLQ>) in VSAM stores and lineage #3656

Closed

Description

@squid-protocol

Observation (from #3617). Datasets are often written with installation symbols that are substituted at install time. The IDCAMS define and the CSD then name the same file differently, and vsam_stores() (correctly) does not join them:

The consequence: CBSA's entities key from the programs' RIDFLD instead of IDCAMS KEYS, and the IDCAMS defines show up as "not generated". Evidence that the join would be right: the RIDFLD-derived key (offset 4, 16 bytes; offset 0, 12 bytes) equals the unjoined IDCAMS KEYS.

Ask. A labeled candidate join, never an asserted one:

  • treat @X@ / <X> / &X segments as wildcards;
  • match a symbolic dataset name to concrete names with the same fixed qualifiers (*.CUSTOMER ↔ CBSA.CICSBSA.CUSTOMER);
  • accept only unique matches;
  • mark the store's defined_by as symbolic_match with the pattern;
  • cross-check the key and record size where both sides have them, and reject on conflict.

Generators cite the match as a candidate. The same matcher helps dataset_lineage and cics_file_datasets.

Part of #3625.

🤖 Generated with Claude Code

Activity

  1. added
    scope:sweep
    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

    scope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions