Skip to content

Siblings of #4623: file-fault conditions per command (command × IBM condition × RESP2) #5044

Closed

Description

@squid-protocol

Siblings of #4623 (PR #5043). Class: the file-fault conditions the equivalence harness injects: file command × IBM-documented condition × RESP2 (tests/tools/equivalence_cics.py fault_lines). #5043 checks the duplicate-key pair (DUPKEY / DUPREC) against each command's IBM "Conditions" list and fills in IBM's RESP2. The rest of the conditions are still accepted on any file command, with any RESP2.

Each box is a condition to check against IBM's per-command lists (CICS TS 6.x: READ, READNEXT, READPREV, WRITE, REWRITE, DELETE, STARTBR, ENDBR, UNLOCK). For each one, allow it only where IBM lists it, with IBM's RESP2, and refuse it by name elsewhere. Add a test per command × condition, like tests/cics_crucible/test_file_fault_forms.py.

  • NOTFND
  • NOTOPEN (the worker found the fetched REWRITE page looked incomplete here: re-fetch before you trust it)
  • IOERR
  • NOSPACE
  • INVREQ
  • LENGERR
  • FILENOTFOUND
  • DISABLED
  • NOTAUTH
  • ILLOGIC
  • LOCKED
  • ENDFILE (READNEXT / READPREV only?)
  • SYSIDERR / ISCINVREQ (remote files: the region has none, so these are probably REFUSED)
  • DUPKEY on DELETE: refused today (register X48) because IBM doesn't say whether the record is deleted. Reopen it if an IBM source settles that.

Siblings: #4623

Activity

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

    @squid-protocol
    OwnerAuthor

    Remaining members after PR #5063 (class: file-fault conditions per command × IBM condition × RESP2). Same mechanism; the PR's class table is in its report.

    • UNLOCK: not injectable yet (FILENOTFOUND, NOTAUTH, IOERR, SYSIDERR, ISCINVREQ, LOCKED per IBM's UNLOCK condition list)
    • CONDITION_ABEND codes missing for IOERR, NOSPACE, NOTOPEN, DISABLED, FILENOTFOUND, LOCKED (AEX8)
    • ILLOGIC browse-end on READNEXT / READPREV / REWRITE: refused today, not modelled
  3. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Closing: PR #5063 covers every box. Each condition is now checked against IBM CICS TS 6.x per-command Conditions for READ / READNEXT / READPREV / STARTBR / ENDBR / WRITE / REWRITE / DELETE, with IBM's RESP2. Anything IBM does not list is refused by name (register X49), and test_file_fault_conditions.py tests the whole command × condition table. The NOTOPEN/REWRITE page was re-fetched: REWRITE lists neither NOTOPEN nor DISABLED. SYSIDERR / ISCINVREQ are allowed as injections, not refused. DUPKEY on DELETE stays refused (X48) until an IBM source settles it. UNLOCK is not a fault-injected command in equivalence_cics.py, so it has no fault lines to check.

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

    enhancementera:2legacy-modernizationpriority: lowscope:sweeptesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions