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

+100

Row not found or end of dataPOSITIVE SQLCODE (INFORMATIONAL) · CHECKED 2026-11-14
Checked against IBM documentation

No row was found: an empty result, nothing matching an UPDATE or DELETE, or a FETCH past the last row. No data was retrieved, updated or deleted.

QUICK ANSWER

No row was found: an empty result, nothing matching an UPDATE or DELETE, or a FETCH past the last row. No data was retrieved, updated or deleted.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. No row satisfied the UPDATE or DELETE search condition.
  2. SELECT INTO produced an empty result.
  3. A FETCH was run with the cursor after the last row.

CHECKED 14 Nov 2026 IBM: Db2 13 for z/OS: SQLCODE +100 (Db2 for z/OS 13.0.0)

MOST LIKELY

No row satisfied the UPDATE or DELETE search condition.

FIRST CHECK

Treat +100 as a normal end-of-data signal in cursor loops.

TRY IT ▸

Site search

What it means

IBM lists the conditions: no row met the search condition of an UPDATE or DELETE, a SELECT INTO returned an empty table, an INSERT subselect was empty, or a FETCH ran after the last row. SQLSTATE is 02000.

It is also issued when SKIP LOCKED DATA leaves no qualifying rows, for a short rowset FETCH, and when LOB data cannot be returned. In SPUFI, a SELECT shows this code as normal completion.

Typical causes

  • No row satisfied the UPDATE or DELETE search condition.
  • SELECT INTO produced an empty result.
  • A FETCH was run with the cursor after the last row.

How to fix it

  1. Treat +100 as a normal end-of-data signal in cursor loops.
  2. Check the WHERE conditions if a row was expected.
  3. For a rowset FETCH, read SQLERRD3 for the number of rows returned.