Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

NOTFND

NOTFNDCICS RESP CONDITION · CHECKED 2026-11-14
Checked against IBM documentation

A READ or similar command could not find a record matching the search argument supplied, so CICS raised NOTFND.

QUICK ANSWER

A READ or similar command could not find a record matching the search argument supplied, so CICS raised NOTFND.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The RIDFLD key, RBA or relative record number does not match any record in the file.
  2. A data table has no entry for the key, for example because the record was rejected by the XDTRD user exit during loading or later deleted from the table.
  3. A READ of a remote file has no KEYLENGTH in the program or the file definition and the real key is longer than 4 characters.
  4. XRBA was specified with a RIDFLD value above 4 GB, but the data set is not an extended ESDS.

CHECKED 14 Nov 2026 IBM: READ | CICS Transaction Server for z/OS 6.x · EXEC interface block (EIB) fields | CICS Transaction Server for z/OS 6.x

MOST LIKELY

The RIDFLD key, RBA or relative record number does not match any record in the file.

FIRST CHECK

Check that the RIDFLD value is exactly the key (or RBA or RRN) of the record you expect.

TRY IT ▸

Site search

What it means

NOTFND (EIBRESP 13) is raised when a file READ cannot retrieve a record for the search argument given in RIDFLD. Unless the program tests RESP or handles the condition, the default action is to terminate the task abnormally.

For data tables, the absence of an entry in the table does not prove the record is missing from the source data set: it may have been rejected at load time by the XDTRD exit or deleted from the table.

Typical causes

  • The RIDFLD key, RBA or relative record number does not match any record in the file.
  • A data table has no entry for the key, for example because the record was rejected by the XDTRD user exit during loading or later deleted from the table.
  • A READ of a remote file has no KEYLENGTH in the program or the file definition and the real key is longer than 4 characters.
  • XRBA was specified with a RIDFLD value above 4 GB, but the data set is not an extended ESDS.

How to fix it

  1. Check that the RIDFLD value is exactly the key (or RBA or RRN) of the record you expect.
  2. If the next higher key is acceptable, consider GTEQ, which returns the first greater key when the exact one is not found.
  3. For a remote file, give KEYLENGTH in the program or in the FILE definition.
  4. Use the RESP option and test for NOTFND so the program can handle a missing record.