Previous Topic: 10027 Unavailable Resource Failure

Next Topic: 10029 Invalid Resource Failure

10028 Allocation Deadlock Failure


FILE:  DB2 System Activity File
SAS FILE NAME:  DETAIL.DB2DSY01
SOURCE LOCATION:  sharedprefix.MICS.SOURCE(DB2DYEXC)

SEVERITY:  Warning              (Severity='W')
MANAGEMENT AREA:  Performance   (MGMTAREA='Performance')

PURPOSE:  This exception warns that an allocation deadlock
has occurred.  This can happen when resources are limited and
contention is high.  An example is a table space lock that
cannot be acquired because it is locked by another
application.

RATIONALE:  With this information it is possible to change
allocation, design, and other factors to minimize deadlocks.

DEFINITION:  This exception is noted when the DSYALOCD flag
is non-zero.

EXCEPTION STATEMENTS:    The SAS statements identifying the
exception situation and describing the condition are stored
in the source member named in SOURCE LOCATION and are
described below:


/* ***************************************** */
/* EXCEPTION NUMBER:  10028                  */
/* TITLE:  ALLOCATION DEADLOCK FAILURE       */
/* FILE:  DB2DSY01                           */
/* ***************************************** */

IF DSYALOCD GT 0 THEN DO;
  EXCCODE='10028';
  SEVERITY='W';
  MGMTAREA='PERFORMANCE';
  EXCDESC1='ALLOCATION DEADLOCK FAILURE';
  EXCDESC2='COUNT = '                  ||
            PUT(DSYALOCD,6.)
            ;
  LINK HIT;
  END;