4. EXCEPTIONS › 4.3 Detailed Exception Descriptions › 00002: Interactive TSO Run Exceeded Resource Usage Limit
00002: Interactive TSO Run Exceeded Resource Usage Limit
FILE TSO Interactive Usage Activity
SAS FILE NAME DETAIL.TSOTSI01
SOURCE LOCATION sharedprefix.MICS.SOURCE(DYTSOEXC)
SEVERITY Warning (SEVERITY='W')
MANAGEMENT AREA Standards (MGMTAREA='STANDARDS')
PURPOSE Identifies interactive runs that have exceeded
installation defined resource consumption limits
for the amount of CPU time, I/O, or service
units consumed.
RATIONALE Interactive runs that require excessive resource
consumption may impose a potential TSO system
response degradation. It may indicate a program
which should be considered for performance
tuning.
DEFINITION This exception is detected when an interactive
run exceeds the installation defined limits for
the amount of CPU time, I/O, or service units
consumed.
EXCEPTION The SAS statements identifying the exception
STATEMENTS situation and describing the condition are
stored in the source member named in SOURCE
LOCATION and are described below:
************************************************************;
*
** 00002
** INTERACTIVE TSO RUN EXCEEDED RESOURCE USAGE LIMIT
*;
IF TSICPUTM > cpu-time
OR TSIEXCPS > i/o
OR TSISERVU > service-units
THEN DO;
EXCCODE='00002'; SEVERITY='W'; MGMTAREA='STANDARDS';
EXCDESC1=
'INTERACTIVE TSO RUN EXCEEDED RESOURCE USAGE LIMIT';
EXCDESC2='CPU TIME(HH:MM:SS)= '
|| PUT(TSICPUTM,TIME.) ||
', EXCPS=' || PUT(TSIEXCPS,6.) ||
', SU=' || PUT(TSISERVU,7.);
LINK HIT;
END;
THRESHOLD Modify the values used for CPU time, I/O,
MODIFICATION and service units, according to the following
conventions:
cpu-time The amount of CPU time is described as
hours, minutes, and seconds. A threshold
of 3 minutes and 20 seconds would appear
as:
TSICPUTM > HMS(0,3,20)
i/o The number of EXCPs is specified. A
threshold of 1000 EXCPs would appear as:
TSIEXCPS > 1000
service-units The number of service units is specified.
A threshold of 35000 service units would
appear as:
TSISERVU > 35000