DB2 - Problembeschreibung
Problem IC67485 | Status: Geschlossen |
SPATIAL MIGRATION TO V9.7 FAILS FOR DATABASE ORIGINALLY CREATED ON V7 | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
If a database was originally created and spatially-enable on DB2 V7 and subsequently migrated to DB2 V8, when the 'db2se migrate' or 'db2se upgrade' command is used to upgrade this data base to V9.7, it will likely fail with the messages: Upgrading database. Please wait ... GSE0219N An EXECUTE IMMEDIATE statement failed. SQLERROR = "SQL0723N An error occurred in a triggered SQL statement in trigger "DB2GSE.GSE_CS_ID". Information returned for the error includes SQLCODE "-443", SQLSTATE "38S68" and message tokens "*ISEERROR||GSE1044N The specified coordin". SQLSTATE=09000". This is due to an internal conflict between the coordinate system with the name 'UNKNOWN' created in a V7 spatial database and the coordinate system with the name 'UNSPECIFIED' added in an upgrade to V8 or V9 spatial databases. The coordinate system with the name 'UNKNOWN' is obsolete and has been deprecated. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * DB2 Spatial Extenders migrating a database originally * * spatially-enabled with DB2 V7 * **************************************************************** * PROBLEM DESCRIPTION: * * If a database was originally created and spatially-enable on * * DB2 * * V7 and subsequently migrated to DB2 V8, when the 'db2se * * migrate' * * or 'db2se upgrade' command is used to upgrade this data base * * to * * V9.7, it will likely fail with the messages: * * * * Upgrading database. Please wait ... * * * * GSE0219N An EXECUTE IMMEDIATE statement failed. SQLERROR = * * * * "SQL0723N An error occurred in a triggered SQL statement in * * * * trigger * * * * "DB2GSE.GSE_CS_ID". Information returned for the error * * includes * * * * * * SQLCODE "-443", SQLSTATE "38S68" and message tokens * * * * "*ISEERROR||GSE1044N The specified coordin". * * SQLSTATE=09000". * **************************************************************** * RECOMMENDATION: * * Apply V9.7 fixpack 3 before running spatial upgrade to V9.7. * **************************************************************** | |
Local-Fix: | |
Issue the following query to verify the problem and check that two rows are returned: select coordsys_name from db2gse.gse_coordinate_systems where coordsys_name like 'UN%' Then issue the statement: delete from db2gse.gse_coordinate_systems where coordsys_name = 'UNKNOWN'. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Lösung | |
Apply V9.7 fixpack 3 before running spatial upgrade to V9.7 | |
Workaround | |
Issue the following query to verify the problem and check that two rows are returned: select coordsys_name from db2gse.gse_coordinate_systems where coordsys_name like 'UN%' Then issue the statement: delete from db2gse.gse_coordinate_systems where coordsys_name = 'UNKNOWN'. | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC69154 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 26.03.2010 16.09.2010 16.09.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7., 9.7.FP3 | |
Problem behoben lt. FixList in der Version | |
9.7.0.3 | |
9.7.0.3 |