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 IC73357 Status: Geschlossen

DATABASE UPGRADE FAILS IF TIMESTAMP TYPE MAPPING IS CREATED FOR SERVER TYPE

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
The database upgrade to v9.7 fails if timestamp type mapping 
created for server type existing in the database. 
 
For example, if the upgrading database has a type mapping 
created by below DDL: 
 
CREATE TYPE MAPPING "TYPEMAP_DRDA_TIMESTAMP" FROM LOCAL TYPE 
TIMESTAMP TO SERVER TYPE DB2/UDB  REMOTE TYPE "TIMESTAMP"; 
 
The database upgrade command will return the error message 
below: 
 
SQL2519N  The database was restored but the restored database 
was not upgraded 
to the current release.  Error "-902" with tokens "SYSSERVERS 
Migration DMS 
rc=80040001:                          " is returned. 
 
The following shows a sample callstack: 
 
0x00002B9100BF0A47 sqlrrSqlCode + 0x02ef 
                (/home2/iidev22/sqllib/lib64/libdb2e.so.1) 
0x00002B9101442047 _Z12sqlrlmLogErrP8sqlrr_cbjmilPcm + 0x0239 
                (/home2/iidev22/sqllib/lib64/libdb2e.so.1) 
0x00002B910144658B 
_Z20sqlrlm_find_wrapnameP8sqlrr_cbtP8sqlr_tidPcjPhPi + 0x051b 
                (/home2/iidev22/sqllib/lib64/libdb2e.so.1) 
0x00002B9101320DF1 
_Z32sqlrlm_95toCobra_systypemappingsP8sqeAgenttP10SQLD_VALUEP8sq 
lr_tidPcPS5_PlPbS8_ 
+ 0x0457 
                (/home2/iidev22/sqllib/lib64/libdb2e.so.1) 
0x00002B910144119A 
_Z19sqlrlm_catalogFixupP8sqlrr_cbtllm17sqlrlm_catChangesPc8sqlr_ 
tidPS3_P18sqlrlm_runstatsCmd 
+ 0x1432 
 
In the db2diag.log there will be a message like the following: 
 
FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc, 
probe:300 
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes 
sqlcaid : SQLCA    sqlcabc: 136  sqlcode: -902  sqlerrml: 38 
sqlerrmc: SYSSERVERS Migration DMS rc=80040001: 
sqlerrp : SQLRM00E 
sqlerrd : (1) 0x00000001      (2) 0x00000001      (3) 
0x00000000 
          (4) 0x00000003      (5) 0xFFFFF429      (6) 
0x00000000 
sqlwarn : (1)      (2)      (3)      (4)        (5)      (6) 
          (7)      (8)      (9)      (10)        (11) 
sqlstate:
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SERVERNAME is a nullable column and this was not taken into  * 
* account. This issue is specific only to remote TIMESTAMP     * 
* types.                                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 9.7 and Fix pack 4.                   * 
****************************************************************
Local-Fix:
Drop type maps that are timestamps: db2 drop type mapping 
TYPEMAP_DRDA_TIMESTAMP
verfügbare FixPacks:
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 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

Lösung
Problem was first fixed in DB2 version 9.7 and Fix pack 4.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC73433 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
17.12.2010
28.04.2011
28.04.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.
Problem behoben lt. FixList in der Version
9.7.0.4 FixList