4. EXCEPTIONS › 4.3 Detailed Exception Descriptions › 03002: Job Elapsed Time Exceeded Limit
03002: Job Elapsed Time Exceeded Limit
FILE: Batch User Job Activity
SAS FILE NAME: DETAIL.BATJOB01
SOURCE LOCATION: prefix.MICS.USER.SOURCE(DYSMFEXC)
SEVERITY: Impacting (SEVERITY='I')
MANAGEMENT AREA: Performance (MGMTAREA='PERFORMANCE')
PURPOSE: Identifies long-running batch jobs.
RATIONALE: The identification of long-running batch jobs is
important to determine data center operation effectiveness
and for management to determine which jobs failed to meet
performance objectives.
DEFINITION: This exception is detected when a batch job's
elapsed time (i.e., execution time) exceeds the
installation-defined time limit for a specified job group.
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.
*
** 03002
** JOB ELAPSED TIME EXCEEDED LIMIT
*;
IF (JOBGROUP=jobgroup AND JOBEXCTM > elapsed-time)
OR (JOBGROUP=jobgroup AND JOBEXCTM > elapsed-time)
OR (JOBGROUP=jobgroup AND JOBEXCTM > elapsed-time)
THEN DO;
EXCCODE='03002'; SEVERITY='I'; MGMTAREA='PERFORMANCE';
EXCDESC1=
'JOB ELAPSED TIME EXCEEDED LIMIT';
EXCDESC2='JOBGROUP=' || PUT(JOBGROUP,3.)
|| ' ELAPSED TIME(H:M:S)='
|| PUT(JOBEXCTM,TIME.);
LINK HIT;
END;
THRESHOLD MODIFICATION: Modify the value used for elapsed
time (i.e., execution time) as follows:
jobgroup - The numeric value identifying the selected job
category. Group 3 appears as:
JOBGROUP=3
elapsed-time - The amount of elapsed time described as
hours, minutes, and seconds. A threshold of 3 hours
and 30 minutes appears as:
JOBELSTM > HMS(03,30,00)