4. EXCEPTIONS › 4.3 Detailed Exception Descriptions › 02600: Resource Enqueue Delay Occurred
02600: Resource Enqueue Delay Occurred
FILE: Resource Enqueue Activity File
SAS FILE NAME: DAYS.SCPENQ01
SOURCE LOCATION: prefix.MICS.USER.SOURCE(DYRMFEXC)
SEVERITY: Impacting (SEVERITY='I')
MANAGEMENT AREA: Performance (MGMTAREA='PERFORMANCE')
PURPOSE: Identify resources involved in enqueue delays.
RATIONALE: When a system task or system function is delayed
because a resource it tried to obtain via enqueue was held by
another task or job, both the task names and the resource
names involved are recorded. By counting the number of such
delay events, this exception will alert the user to further
investigate what resources are creating conflicts and which
tasks are holding/delaying others. With this knowledge, the
conflicts can be minimized or eliminated. Some enqueue
conflicts will always exist and they should be identified and
removed from this exception.
DEFINITION: This exception is detected whenever a resource
enqueue has occurred more times than the installation-defined
maximum.
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:
** 02600 RESOURCE ENQUEUE DELAY OCCURRED
*;
IF ENQEVT GT events
THEN DO;
EXCCODE='02600';SEVERITY='I';MGMTAREA='PERFORMANCE';
EXCDESC1='RESOURCE ENQUEUE DELAY OCCURRED';
EXCDESC2=PUT(ENQDWR,4.) !! ' JOBS WAITING. Q=' !!
TRIM(ENQQNM) !! ' / ' !! TRIM(ENQRNM);
IF ENQRHEX NE: ' '
THEN EXCDESC2=TRIM(EXCDESC2) !! ' HEX=' !! ENQRHEX;
LINK HIT;
END;
THRESHOLD MODIFICATION: The user should modify the value of
events according to the following convention:
events - The number of times a enqueue delay occurred. A
threshold of 100 enqueue delay events would appear as:
ENQEVT GT 100