DB2 - Problem description
Problem IC94164 | Status: Closed |
IN SOME CASES SQLGETDIAGFIELDW FUNCTION WILL TRUNCATE THE DIAGNOSTIC MESSAGE RETURNED. | |
product: | |
DB2 CONNECT / DB2CONNCT / A50 - DB2 | |
Problem description: | |
Calling SQLGetDiagField function by CLI application in some cases will return truncated diagnostic message. Here is an example: Truncated result: 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 Correct result: 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 Summary: | |
**************************************************************** * USERS AFFECTED: * * CLI users. * **************************************************************** * PROBLEM DESCRIPTION: * * Please See Error Description. * **************************************************************** * RECOMMENDATION: * * Please See Error Description. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.5 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 16.07.2013 02.10.2013 02.10.2013 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.2 |