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 IC82432 Status: Closed

IF THE TOTAL NUMBER OF STATISTIC EVENT LOG FILES IS 15, DB2DIAG AND
PD_GET_DIAG_HIST FAIL TO RETRIEVE DATA.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
We can specify the max number of statistic event log is 15 (e.g. 
db2set DB2_OPTSTATS_LOG=ON,NUM=15 ) but when the total number of 
statistic event log files reached is 15 ( e.g.: 
db2optstats.0.log , ... , db2optstats.14.log ), db2diag command 
and PD_GET_DIAG_HIST against statistic event log will fail to 
retrieve any data. 
 
Example: 
 
>db2diag -fac optstats -c 
db2diag: No messages found for facility "optstats". 
 
>db2 "SELECT FACILITY, RECTYPE, TIMESTAMP, IMPACT, SUBSTR(MSG,1, 
50) AS MSG FROM TABLE (PD_GET_DIAG_HIST( 'OPTSTATS', 'E', '', 
NULL, NULL) )" 
SELECT FACILITY, RECTYPE, TIMESTAMP, IMPACT, SUBSTR(MSG,1, 50) 
AS MSG FROM TABLE (PD_GET_DIAG_HIST( 'OPTSTATS', 'E', '', NULL, 
NULL) ) 
 
FACILITY             RECTYPE TIMESTAMP                  IMPACT 
MSG 
-------------------- ------- -------------------------- 
------------------ 
-------------------------------------------------- 
 
  0 record(s) selected.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to 9.7 FP7 or subsequent fix pack                    * 
****************************************************************
Local Fix:
Remove any older statistic event log files so the total number 
of logs is 15 or less.
available fix packs:
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 7
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC84611 IC87833 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
02.04.2012
17.01.2013
17.01.2013
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList