4. EXCEPTIONS › 4.3 Exception Descriptions › 10001 Instrumentation Not Active Error
10001 Instrumentation Not Active Error
FILE: DB2 System Activity File
SAS FILE NAME: DETAIL.DB2DSY01
SOURCE LOCATION: sharedprefix.MICS.SOURCE(DB2DYEXC)
SEVERITY: Warning (Severity='W')
MANAGEMENT AREA: Security (MGMTAREA='Security')
PURPOSE: This exception warns that the instrumentation
facility specified was not active when DB2 attempted to write
a record.
RATIONALE: When the specified instrumentation facility
destination is not active, DB2 system activity and billing
information is not captured.
DEFINITION: This exception is noted when the DSYNAER1 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: 10001 */
/* TITLE: INSTRUMENTATION NOT ACTIVE ERROR */
/* FILE: DB2DSY01 */
/* ***************************************** */
IF DSYNAER1 GT 0 THEN DO;
EXCCODE='10001';
SEVERITY='W';
MGMTAREA='SECURITY';
EXCDESC1='INSTRUMENTATION NOT ACTIVE ERROR';
EXCDESC2='DESTINATION = ' ||
PUT(DSYIDES1,$4.) ||
' ' ||
'COUNT = ' ||
PUT(DSYNAER1,6.)
;
LINK HIT;
END;