home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC76542 Status: Closed

DB2_EVMON_STMT_FILTER DOES NOT FILTER

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
This issue is easily reproducible against the sample database 
(db2sampl) 
 
Using the following shell script: 
 
   MONITOR_NAME=EVMON_STMT 
 
   # the following should record only the "CALL" statements 
   db2set DB2_EVMON_STMT_FILTER='${MONITOR_NAME}:12' 
   db2stop force 
   db2start 
 
   db2 connect to sample 
   db2 delete from stmt_${MONITOR_NAME} where 1=1 
 
   db2 create event monitor ${MONITOR_NAME} for statements write 
to table 
   db2 set event monitor ${MONITOR_NAME} state 1 
   db2 "select FIRSTNME, LASTNAME from employee where 
EMPNO='000230'" 
   db2 set event monitor ${MONITOR_NAME} state 0 
   db2 "select start_time, sequence_no, stmt_operation, 
substr(stmt_text,1,50) statement from stmt_${MONITOR_NAME}" 
 
 
 
The last select statement will show the following output : 
 
 
START_TIME                 SEQUENCE_NO STMT_OPERATION 
STATEMENT 
-------------------------- ----------- -------------------- 
-------------------------------------------------- 
2011-05-20-10.34.48.981832 00004                          1 
select FIRSTNME, LASTNAME from employee where EMPN 
2011-05-20-10.34.49.089473 00004                          4 
select FIRSTNME, LASTNAME from employee where EMPN 
2011-05-20-10.34.49.089473 00004                          7 
select FIRSTNME, LASTNAME from employee where EMPN 
2011-05-20-10.34.49.089473 00004                          6 
select FIRSTNME, LASTNAME from employee where EMPN 
2011-05-20-10.34.49.093972 00004                          8 
 
  5 record(s) selected.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See error description above                                  * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 9.7 Fix Pack 5                        * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 version 9.7 Fix Pack 5
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC76692 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
23.05.2011
23.12.2011
23.12.2011
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList