Skip to content

equivalence harness: a DUPKEY file fault (billpay/tranadd use DUPREC as a stand-in) #4623

Closed

Description

@squid-protocol

Part of #4270 (found in #4602).

The equivalence harness's file fault list has no DUPKEY. #4602's carddemo-billpay scenario write-duprec injects DUPREC on the TRANSACT WRITE to take the grouped WHEN DFHRESP(DUPKEY) WHEN DFHRESP(DUPREC) arm (COBIL00C line 533). The same holds for COTRN02C line 735. That stands in for DUPKEY, and the arm is shared, so the coverage is right. Still, DUPKEY on its own (a WRITE to a file with a unique alternate index path, IBM: https://www.ibm.com/docs/en/cics-ts/6.x?topic=summary-write) cannot be stated today.

Add DUPKEY to the fault vocabulary (both runtimes and the spec's WRITE outcomes, if the spec lists them: gitgalaxy/standards/cics/commands/files.py), with a crucible case derived by hand, then let the scenario use it.

Activity

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

    @squid-protocol
    OwnerAuthor

    Siblings: #5044 (the other file-fault conditions, checked per command against IBM's lists). The fix is in PR #5043.

  3. added
    scope:core
    era:2
    on Oct 16, 2026
  4. squid-protocol commented on Oct 17, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met: DUPKEY is a real fault in both runtimes with xref-aix-dupkey scenarios (#5043), per-command conditions checked against IBM (#5063), and the spec now states DUPKEY/140 on READ/READNEXT/READPREV and DUPREC/150 on WRITE/REWRITE (#5310). Remaining sibling gaps live in #5044.

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

    enhancementera:2legacy-modernizationpriority: lowscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions