Previous Topic: 03056: Unauthorized Program Use

Next Topic: 03058: Program System CPU Time (SRB) Usage Exceeded Limit

03057: Program Resource Consumption Exceeded Limit

FILE:             Batch User Program Activity
SAS FILE NAME:    DETAIL.BATPGM01
SOURCE LOCATION:  prefix.MICS.USER.SOURCE(DYSMFEXC)

SEVERITY:  WARNING              (SEVERITY='W')
MANAGEMENT AREA:  Workload      (MGMTAREA='WORKLOAD')

PURPOSE:  Identifies programs which utilized a large quantity
of resources.

RATIONALE:  Heavy resource-consuming programs may have a
degrading effect on overall system performance.
Identification and control of these jobs may be crucial to
maintaining consistent performance.

DEFINITION:  This exception is detected when a program's
resource consumption exceeds the installation-defined values.

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.

*
** 03057
** PROGRAM RESOURCE CONSUMPTION EXCEEDED LIMIT
*;
IF PGMSERVU > service-units
   OR PGMCPUTM > cpu-time
   OR PGMEXCPS > excps
 THEN DO;
  MGMTAREA='WORKLOAD'; EXCCODE='03057'; SEVERITY='W';
  EXCDESC1=
     'PROGRAM RESOURCE CONSUMPTION EXCEEDED LIMIT';
  EXCDESC2='SERVICE UNITS=' || PUT(PGMSERVU,7.)
           || ' EXCPS=' || PUT(PGMEXCPS,6.)
           || ' CPU TIME=' || PUT(PGMCPUTM,TIME.);
  LINK HIT;
END;

THRESHOLD MODIFICATION:     Modify the values used for
service-units, cpu-time, and excps as follows:

    service-units - The number of service units.  A threshold
       of 200,000 service units appears as:

          PGMSERVU > 200000

    cpu-time - The amount of CPU time, described in hours,
       minutes, and seconds.  A threshold of 10 minutes and
       30 seconds appears as:

          PGMCPUTM > HMS(0,10,30)

    excps - The number of exceptions.  A threshold of 50,000
       excps appears as:

          PGMEXCPS > 50000