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

-911

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

The unit of work was rolled back after being the victim of a deadlock or a timeout.

QUICK ANSWER

The unit of work was rolled back after being the victim of a deadlock or a timeout.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The unit of work was chosen as the victim in a deadlock (reason 00C90088).
  2. The unit of work timed out waiting for a resource (reason 00C9008E).

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

MOST LIKELY

The unit of work was chosen as 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

Db2 rolled the application back to its previous COMMIT, so its changes must be entered again. SQLERRD(3) holds the reason code: 00C90088 means deadlock, 00C9008E means timeout.

Typical causes

  • The unit of work was chosen as the victim in a deadlock (reason 00C90088).
  • The unit of work 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. Issue COMMIT frequently in long-running or deadlock-prone applications.
  3. See message DSNT376I for other ways to avoid deadlocks and timeouts.
  4. Normally the application should terminate on receiving this code.