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

CLI THROWS SQL5163 ERROR DURING CONNECT FOR HOSTNAME OF "CLIENTA
FFINITYDEFINED" SECTION IN DB2DSDRIVER.CFG FILE ON SUN64.

product:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problem description:
CLI IS NOT ABLE TO GET NETWORK INTERFACE VALUES AND HENCE IP 
ADDRESS ON SUN64 AND SUNAMD64, HENCE THROWS SQL5163N ERROR. 
 
For hostname used under "clientaffinitydefined" section of 
db2dsdriver.cfg file, CLI throws SQL5163N error while connecting 
to the database. The issue found on Sun64 and SunAMD64 platforms 
only. On other platform it works fine. 
 
The "db2cli validate -dsn mydsn -connect" also throws same error 
while trying to connect to the database. 
 
SQLDriverConnect: rc = -1 (SQL_ERROR) 
SQLError: rc = 0 (SQL_SUCCESS) 
SQLError: SQLState     : 
          fNativeError : -5163 
          szErrorMsg   : [IBM][CLI Driver] SQL5163N  A required 
configuration parameter "a qualifying client in affinity group" 
is missing from the db2dsdriver.cfg configuration file. 
 
          cbErrorMsg   : 159 
SQLError: rc = 100 (SQL_NO_DATA_FOUND)
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users using clientaffinitydefined section in db2dsdriver.cfg * 
* file on Sun64 platform.                                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v97fp7 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_v97fp7 contains fix of this issue. After fix, connect will 
not throw error.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC86898 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.08.2012
20.10.2012
20.10.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList