Previous Topic: 03006: Job Data Set Enqueue Time Exceeded Limit

Next Topic: 03008: Resource Consuming Operator Job Cancellation

03007: Resource Consuming Job Abend

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

SEVERITY:  Warning              (SEVERITY='W')
MANAGEMENT AREA:  Standards     (MGMTAREA='STANDARDS')

PURPOSE:  Identifies jobs that failed after consuming a
considerable quantity of resources.

RATIONALE:  Job abends after large amounts of resources have
been consumed have a degrading effect on the capacity of the
system.  Such jobs should be identified and analyzed as to
why the costly failure occurred and how it can be avoided in
the future.

DEFINITION:  This exception is detected when a batch job has
abended and the number of consumed service units exceeds the
installation-defined value.

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.

*
**  03007
**  RESOURCE CONSUMING JOB ABEND
*;
IF (JOBUSRAB=1 OR JOBSYSAB=1)
      AND JOBSERVU > service-units THEN DO;
    EXCCODE='03007'; SEVERITY='W'; MGMTAREA='STANDARDS';
    EXCDESC1=
    'RESOURCE CONSUMING JOB ABEND';
    IF JOBUSRAB=1 THEN X3007=' USER'; ELSE X3007='SYSTEM';
    EXCDESC2=X3007 || ' ABEND=' || TERMCODE
             || ' CPU TIME='
             || PUT(JOBCPUTM,TIME.)
             || ' EXCPS=' || PUT(JOBEXCPS,6.)
             || ' SU=' || PUT(JOBSERVU,7.);
    LINK HIT;
END;

THRESHOLD MODIFICATION:     Modify the value used for
service-units as follows:

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

          JOBSERVU > 250000