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

INCORRECT DAYS OF MONTH REPORTED IN NOTIFY LOG WHILE INSERTING THE POLICY
FOR OFFLINE WINDOW

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
This issue is with the automatic maintenance and the use of an 
offline maintenance window. 
 
Given the following XML policy file say m1.xml: 
 
<?xml version="1.0" encoding="UTF-8"?> 
 
<DB2MaintenanceWindows 
 
xmlns="http://www.ibm.com/xmlns/prod/db2/autonomic/config" > 
 
 
 
 <!-- Online Maintenance Window  --> 
 
 <OnlineWindow Occurrence="During" startTime="18:00:00" 
duration="14" > 
  <DaysOfWeek>Mon Tue Wed Thu Fri Sat</DaysOfWeek> 
 
  <DaysOfMonth>All</DaysOfMonth> 
 
  <MonthsOfYear>All</MonthsOfYear> 
 
 </OnlineWindow> 
 
 <!-- Offline Maintenance Window  --> 
 
 
 
 <OfflineWindow Occurrence="During" startTime="16:39:53" 
duration="01" 
  <DaysOfWeek>Tue</DaysOfWeek> 
 
  <DaysOfMonth>23</DaysOfMonth> 
 
  <MonthsOfYear>Jun</MonthsOfYear> 
 
 </OfflineWindow> 
 
</DB2MaintenanceWindows> 
 
 
 
If we insert the policy into the database using: 
 
db2 "call 
sysproc.automaint_set_policyfile('MAINTENANCE_WINDOW','m1.xml')" 
 
 
 
In the notify log it says: 
 
ADM10515I  The automatic maintenance policy "MAINTENANCE_WINDOW" 
has 
been updated in database "BCUDB". The policy options have been 
updated 
from "Online window:  Start Date: Current Date  End Date: none 
 
Maintenance occurs inside window  Time:  18:00:00 - 08:00:00 
Days of 
week: MON, TUE, WED, THU, FRI, SAT, Days of month:  All  Month 
of year: 
All  Offline window:  Start Date: Current Date  End Date: none 
 
Maintenance occurs inside window  Time:  16:39:53 - 17:39:53 
Days of 
week: TUE,  Days of month:  22, Month of year: JUN, " to "Online 
 
window:  Start Date: Current Date  End Date: none  Maintenance 
occurs 
inside window  Time:  18:00:00 - 08:00:00  Days of week: MON, 
TUE, WED, 
THU, FRI, SAT,  Days of month:  All  Month of year:  All 
Offline 
window: Start Date: Current Date  End Date: none  Maintenance 
occurs 
inside window Time: 16:39:53 - 17:39:53  Days of week: TUE, 
Days of 
month: 22, Month of year: JUN, ". 
 
 
 
Days of month is reported as 22 instead of 23. 
 
This behavior observed in V9.5 on all platforms ( 
Unix/Linux/Windows )
Problem Summary:
Incorrect days of month reported in notify log while inserting 
the policy for offline window
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
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 9a 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 10 for Linux, UNIX, and Windows

Solution
First Fixed in DB2 V9.5 Fixpack 5
Workaround
N/A
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.10.2009
15.12.2009
15.12.2009
Problem solved at the following versions (IBM BugInfos)
9.5.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList