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

ROLLFORWARD OF LOAD REPLACE WITH XML DATA FAILS WITH SQL1042C (U NEXPECTED
SYSTEM ERROR)

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
Rollforward of LOAD REPLACE with XML data fails with SQL1042C 
(unexpected system error) 
 
Here are the 10 steps to reproduce the problem: 
 
-- Create database, enable log retain, do initial backup 
db2start; 
create db xmldb; 
update db cfg for xmldb using logretain recovery; 
backup db xmldb; 
connect to xmldb; 
 
-- Create a table, insert one row 
create table t (a int, x xml); 
insert into t values (1, xmlparse(document '<foo />' strip 
whitespace)); 
 
-- LOAD REPLACE anything (or nothing at all) 
load from /dev/null of del xml from . replace into t; 
 
-- Restore the initial database image, and rollforward to end of 
logs 
restore db xmldb replace existing; 
rollforward db xmldb to end of logs and complete;
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Rollforward of LOAD REPLACE with XML data fails with         * 
* SQL1042C (unexpected system error)                           * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.5 Fix Pack 5 or later.              * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.5 Fix Pack 5 for Linux, UNIX, and Windows
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
Problem was first fixed in Version 9.5 Fix Pack 5. 
This fix should be applied on the DB2 server.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.07.2009
21.12.2009
21.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.5.0.5 FixList