DB2 - Problembeschreibung
Problem IC86340 | Status: Geschlossen |
DRDA WRAPPER REPORTS -901 ERROR IF SOURCE TABLE/VIEW HAS COLUMN WITH CHAR(0) DATA TYPE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
You will encountered -901 error when creating a nickname pointing to a table or a view that has a column with data type char(0): SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "Invalid nickname column length".) SQLSTATE=58004 The problem is easy to be reproduced: ========================================================== db2 connect to <source dbname> db2 "create view test_view as select char('') as col1 from sysibm.sysdummy1" db2 connect to <fed dbname> db2 "create nickname nk_test for drdaserver.schema.test_view" ========================================================== | |
Problem-Zusammenfassung: | |
User affected: Users who use DRDA wrapper of in InfoSphere Federation Server Problem description and summay: See error description | |
Local-Fix: | |
Cast the CHAR(0) column to a not null column as: cast('' as char(1)) as col1 | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Lösung | |
Problem was fistly fixed in Version 10, FixPak 2. This fix should be applied on the federation Server. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 05.09.2012 04.01.2013 04.01.2013 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.2 | |
10.5.0.2 |