home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC64069 Status: Geschlossen

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

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
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-Zusammenfassung:
Incorrect days of month reported in notify log while inserting 
the policy for offline window
Local-Fix:
verfügbare FixPacks:
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

Lösung
First Fixed in DB2 V9.5 Fixpack 5
Workaround
N/A
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.10.2009
15.12.2009
15.12.2009
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP5
Problem behoben lt. FixList in der Version
9.7.0.1 FixList