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

-913

SQLSTATE 57033NEGATIVE SQLCODE · CHECKED 2026-11-14
Checked against IBM documentation

The statement failed because the application was the victim of a deadlock or experienced a timeout.

QUICK ANSWER

The statement failed because the application was the victim of a deadlock or experienced a timeout.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The application was the victim in a deadlock (reason 00C90088).
  2. The application timed out waiting for a resource (reason 00C9008E).

CHECKED 14 Nov 2026 IBM: Db2 13 - Codes - SQLCODE -913 | Db2 for z/OS 13.0.0

MOST LIKELY

The application was the victim in a deadlock (reason 00C90088).

FIRST CHECK

Collect the SYSLOG for the period of the failure and search it for related messages.

TRY IT ▸

Site search

What it means

The reason code, also in SQLERRD(3), shows whether it was a deadlock (00C90088) or a timeout (00C9008E). If the statement was a cursor FETCH, Db2 closes the cursor.

Typical causes

  • The application was the victim in a deadlock (reason 00C90088).
  • The application timed out waiting for a resource (reason 00C9008E).

How to fix it

  1. Collect the SYSLOG for the period of the failure and search it for related messages.
  2. Commit or roll back to the previous COMMIT, then generally terminate the application.
  3. See message DSNT376I for possible ways to avoid future deadlocks or timeouts.