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

SQLSTATE RETURNED FOR MISSING TABLE/VIEW IS INCORRECT ? RETURNS D42S22
(COLUMN NOT FOUND) INSTEAD OF D42S02 (TABLE NOT FOUND).

product:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problem description:
In case of Informix Server (IDS) when trying through cli driver 
on a query of invalid table , scenarios like table no present 
when tried to drop table. When tried to create index on a table 
which is not present it should return error S0002 but it was 
returning error code S0022 which is for invalid columns in case 
of db2 .
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* When CLI driver is used against Informix Server.             * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* In case of Informix Server (IDS) when trying through cli     * 
* driver                                                       * 
* on a query of invalid table , scenarios like table no        * 
* present                                                      * 
* when tried to drop table. When tried to create index on a    * 
* table                                                        * 
* which is not present it should return error S0002 but it was * 
* returning error code S0022 which is for invalid columns in   * 
* case                                                         * 
* of db2 .                                                     * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 V9.7 FP7 or later releases.                   * 
****************************************************************
Local Fix:
available fix packs:
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
DB2 V9.7 Fix Pack 7 contains fix of this issue. After the fix, 
CLI driver returns correct error message.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.07.2012
30.08.2014
30.08.2014
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList