DB2 - Problem description
Problem IT03281 | Status: Closed |
CALLING SQLGETCONNECTATTR FOR SQL_ATTR_GET_LATEST_MEMBER_NAME FAILS IF SQL_ATTR_OVERRIDE_PRIMARY_AFFINITY IS SET | |
product: | |
DB2 COMMON CLIE / DBCMNCLNT / A50 - DB2 | |
Problem description: | |
In a CLI (Call Level Interface) application, a call of SQLGetConnectAttr to get the SQL_ATTR_GET_LATEST_MEMBER_NAME connection attribute returns SQL_ERROR and and a subsequent call of SQLGetDiagField returns SQL_NO_DATA_FOUND, if the following conditions are both true: - the IBM data server driver configuration file (db2dsdriver.cfg) contains short host names instead of long host names, and: - the application has set the SQL_ATTR_OVERRIDE_PRIMARY_AFFINITY connection attribute (to specify a new temporary primary member for the client affinities feature). | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of applications for DB2 for Linux, UNIX and Windows * * that use the CLI (Call Level Interface) API * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * . * **************************************************************** | |
Local Fix: | |
Solution | |
Problem was first fixed in DB2 10.5 Fix Pack 5. At a minimum, this fix should be applied on the client. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.07.2014 16.03.2015 16.03.2015 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.5 |