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

CALL SYSPROC.AUTOMAINT_SET_POLICY() TO SET A NEW AUTO_REORG POLICY MAY
RETURN SQL1437N - 'UNTERMINATED END TAG' DB2AUTOREORG

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Calling SYSPROC.AUTOMAINT_SET_POLICY() to set a AUTO_REORG 
policy with an xml policy description may fail with error 
SQL1437N despite a correct xml policy file is being used. 
 
SQL1437N  The XML in the automatic maintenance policy file or 
LOB parameter passed to AUTOMAINT_SET_POLICY or 
AUTOMAINT_SET_POLICYFILE is not valid at line number "8" 
and column number "21".  Validation error 
message: "Unterminated end tag, ' DB2AutoReorg 
 
Sample db2diag.log message: 
 
2011-10-19-08.02.21.241939+120 I2275125E366        LEVEL: 
Warning 
PID     : 421                 TID  : 1105262912   PROC : db2fmp 
( 
INSTANCE: db2inst1               NODE : 000 
FUNCTION: DB2 UDB, Policy, sqlpiValidateAutomaintPolicy, 
probe:40 
DATA #1 : <preformatted> 
Validation Error at Line number: 8 Column: 21 Message: 
Unterminated end tag, '.DB2AutoReorgPolicy.' 
 
This happens if the XML description that is passed as argument 
strictly fits within the string, i.e. there are no leading or 
trailing blanks enclosed.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Problem Description above.                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 6.                       * 
****************************************************************
Local Fix:
Add at least one trailing blank to the XML policy description
available fix packs:
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 Version 9.7 Fix Pack 6.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC99726 IC99727 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
31.10.2011
18.06.2012
18.06.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP6
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList