Previous Topic: 04001: CICS Application Exceeds Avg Elapsed Time Standard

Next Topic: 04004: CICS Application Exceeds Avg Wait Time Limit

04002: CICS Application Exceeds Avg TCB/SRB CPU Limit


FILE:             CICS Application Unit Activity File
SAS FILE NAME:    DAYS.CICCAU01
SOURCE LOCATION:  prefix.MICS.USER.SOURCE(DYCICEXC)

SEVERITY:  Warning              (SEVERITY='W')
MANAGEMENT AREA:  Service       (MGMTAREA='SERVICE')

PURPOSE:  Identifies those CICS applications whose average
TCB/SRB time totalled more than the installation-defined CPU
time service objective.

RATIONALE:  An installation can set a service objective for
application TCB/SRB time.  Setting the service objective this
way recognizes the importance of servicing a large number of
individual requests, while identifying CICS applications
which use large amounts of CPU time.  Such CPU resource users
could be tuned by restructuring the programs involved or
compensated for by careful priority assignment.

DEFINITION:   This exception is detected when an individual
application's elapsed time exceeds the installation's TCB/SRB
time objective.

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.

************************************************************;
*
**  04002
**  CICS APPLICATION EXCEEDS AVG TCB/SRB CPU LIMIT
*;
SECONDS=seconds;
IF CAUAVTRT > SECONDS
THEN DO;
EXCCODE='04002'; SEVERITY='W'; MGMTAREA='SERVICE';
EXCDESC1=
'CICS TRANSACTION EXCEEDED TCB/SRB CPU USAGE LIMIT';
EXCDESC2= 'APPL=' || CICAPU ||
        ', AVG CPU TIME=' ||
        PUT(CAUAVTRT,TIME12.2);
LINK HIT;
END;

THRESHOLD MODIFICATION:  Modify the value of seconds to
define your installation's service objective according to the
following convention:

    seconds - The number of CPU seconds for the service
       objective.  An objective of five seconds appears as:

          SECONDS = 5;