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

SYSPROC.AUTOMAINT_SET_POLICY DOES NOT ALLOW TO SET DAYSOFMONTH INCLUDE 8
OR 18

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
SYSPROC.AUTOMAINT_SET_POLICY returns SQL1437 if 8 or 18 is part 
of <DaysOfMonth>. 
 
SQL1437N  The XML in the automatic maintenance policy file or 
LOB parameter 
passed to SYSPROC.AUTOMAINT_SET_POLICY or 
SYSPROC.AUTOMAINT_SET_POLICYFILE is 
not valid at line number "1" and column number "250". 
Validation error 
message: "Datatype error: Type: InvalidDatatypeValueExcepti". 
SQLSTATE=5U0ZZ 
 
See attachment. Easy to reproduce (also on DB2 9.7).
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* AUTOMAINT_SET_POLICYFILE stored procedure when invoked for   * 
* maintenance window setting.                                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SYSPROC.AUTOMAINT_SET_POLICY DOES NOT ALLOW TO SET           * 
* DAYSOFMONTH INCLUDE 8 OR 18. It gives the following error    * 
* for this case :                                              * 
*                                                              * 
* SQL1437N  The XML in the automatic maintenance policy file   * 
* or                                                           * 
* LOB parameter                                                * 
*                                                              * 
* passed to SYSPROC.AUTOMAINT_SET_POLICY or                    * 
*                                                              * 
* SYSPROC.AUTOMAINT_SET_POLICYFILE is                          * 
*                                                              * 
* not valid at line number "1" and column number "250".        * 
*                                                              * 
* Validation error                                             * 
*                                                              * 
* message: "Datatype error: Type:                              * 
* InvalidDatatypeValueExcepti".                                * 
* SQLSTATE=5U0ZZ                                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to v95fp6                                            * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Fixed the schema which validate the input xml for day of month. 
Now it will allow the customer to set the 8 or 18 as "Days of 
 
Month"  of maintenance window policy xml with out any error.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC66591 IC66592 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.02.2010
05.04.2010
05.04.2010
Problem solved at the following versions (IBM BugInfos)
9.5.FP6
Problem solved according to the fixlist(s) of the following version(s)