Skip to content

CICS harness: condition machinery (HANDLE/IGNORE CONDITION, RESP/NOHANDLE, HANDLE ABEND, PUSH/POP HANDLE) #4003

Closed

Description

@squid-protocol
  • Condition table: HANDLE CONDITION, IGNORE CONDITION and ERROR as a per-program table.
  • Per command: RESP, RESP2 and NOHANDLE.
  • Transfer of control: a real GO TO ... DEPENDING ON transfer, the way IBM's translator emits it, not a GOBACK.
  • HANDLE ABEND: LABEL and PROGRAM, with the upward exit search across LINK levels, plus ASSIGN ABCODE.
  • PUSH/POP HANDLE: PUSH also suspends HANDLE ABEND.
  • Abend codes: each unhandled condition maps to its abend code, for example QIDERR→AEYH, PGMIDERR→AEI0, LENGERR→AEIV, MAPFAIL→AEI9, ENDDATA→AEI2, NOTFND→AEIM, ITEMERR→AEIZ.
  • Java side: CicsTask's ABEND carries the cause, the outcome (exit or terminated) and which exit took it.

This covers hc-perform-range and, once LINK lands (see the LINK issue), hc-abend-link.

Part of #3989 (phase 3). Measured by the CICS crucible runner (#4000, tests/tools/cics_crucible.py, report docs/language_status/cics_crucible.md). When fixed, the unlocked cells leave tests/cics_crucible/baseline.json (the ratchet forces it).

🤖 Generated with Claude Code

Activity

  1. added
    testing
    legacy-modernization
    on Sep 29, 2026
  2. added 9 commits that reference this issue on Sep 29, 2026
  3. added a commit that references this issue on Sep 29, 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

    legacy-modernizationtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions