Previous Topic: 10021 Start Data Base Command

Next Topic: 10023 Start DB2 Command

10022 Start Trace Command


FILE:  DB2 System Activity File
SAS FILE NAME:  DETAIL.DB2DSY01
SOURCE LOCATION:  sharedprefix.MICS.SOURCE(DB2DYEXC)

SEVERITY:  Warning              (Severity='W')
MANAGEMENT AREA:  Performance   (MGMTAREA='Performance')

PURPOSE:  This exception notes that a Start Trace Command was
issued.

RATIONALE:   The trace function consumes extra machine
resources and impacts performance.  It is important to
control the use of this facility.

DEFINITION:  This exception is noted when the DSYSTTRC flag
is non-zero.

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:


/* ***************************************** */
/* EXCEPTION NUMBER:  10022                  */
/* TITLE:  START TRACE COMMAND               */
/* FILE:  DB2DSY01                           */
/* ***************************************** */

IF DSYSTTRC GT 0 THEN DO;
  EXCCODE='10022';
  SEVERITY='W';
  MGMTAREA='PERFORMANCE';
  EXCDESC1='START TRACE COMMAND';
  EXCDESC2='COUNT = '                  ||
            PUT(DSYSTTRC,6.)
            ;
  LINK HIT;
  END;