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

SQLGETDIAGFIELDW TRUNCATES THE ERROR MESSAGE RETURNED

Produkt:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problembeschreibung:
If you have a CLI application that calls SQLGetDiagField(), the 
error message returned may be incomplete because CLI calls 
SYSIBM.SQLCAMESSAGE() with incorrect parameters. 
 
Example : 
If your CLI application is calling the following procedure CALL 
SYSPROC.ADMIN_INFO_SYSLOG 
(NULL,'*','2012-05-06','00.01.00','2012-05-30','23.00.00',3000,? 
) and it fails with error -471 : 
 
the message returned is 
 
SQLGetDiagField( pDiagInfo="[IBM][CLI Driver][DB2] INVOCATION OF 
FUNCTION OR PROCEDURE SYSPROC.ADMIN_INFO_SYSLOG", pcbDiagInfo=84 
) 
    <--- SQL_SUCCESS   Time elapsed - +1.237700E-002 seconds 
 
instead of 
 
SQLGetDiagField( pDiagInfo="[IBM][CLI Driver][DB2] INVOCATION OF 
FUNCTION OR PROCEDURE SYSPROC.ADMIN_INFO_SYSLOG FAILED DUE TO 
REASON 00E79106", pcbDiagInfo=114 ) 
    <--- SQL_SUCCESS   Time elapsed - +1.237700E-002 seconds
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* db2connect users using cli.                                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v97fp7 or later releases.                     * 
****************************************************************
Local-Fix:
n/a
verfügbare FixPacks:
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
db2_v97fp7 contains fix of this issue. After the fix, user will 
get correct error message.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC85658 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.06.2012
24.10.2012
24.10.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
9.7.0.7 FixList