4. EXCEPTIONS › 4.3 Detailed Exception Descriptions › 00001: Interactive TSO Run Exceeded Elapsed Time Standard
00001: Interactive TSO Run Exceeded Elapsed Time Standard
FILE TSO Interactive Usage Activity
SAS FILE NAME DETAIL.TSOTSI01
SOURCE LOCATION sharedprefix.MICS.SOURCE(DYTSOEXC)
SEVERITY Impacting (SEVERITY='I')
MANAGEMENT AREA Standards (MGMTAREA='STANDARDS')
PURPOSE Identifies long running interactive programs/
commands.
RATIONALE Identifying long interactive runs which can be
submitted as batch jobs may result in improved
productivity by freeing a terminal and allowing
the user to do other work until the long run
ends.
DEFINITION This exception is detected when an interactive
run exceeds the installation defined elapsed
time limit.
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:
************************************************************;
*
** 00001
** INTERACTIVE TSO RUN EXCEEDED ELAPSED TIME STANDARD
*;
IF TSIELPTM > elapsed-time
THEN DO;
EXCCODE='00001'; SEVERITY='I'; MGMTAREA='STANDARDS';
EXCDESC1=
'INTERACTIVE TSO RUN EXCEEDED ELAPSED TIME STANDARD';
EXCDESC2='ELAPSED TIME(HH:MM:SS)= '
|| PUT(TSIELPTM,TIME.);
LINK HIT;
END;
THRESHOLD Modify the value used for elapsed time.
MODIFICATION
elapsed-time The amount of elapsed time is described as
hours, minutes, and seconds. A threshold
of 3 minutes and 20 seconds would appear
as:
TSIELPTM > HMS(0,3,20)