DB2 - Problem description
| Problem IT03713 | Status: Closed |
CLPPLUS DOES NOT READ DB2DSDRIVER.CFG PRESENT UNDER CFG FOLDER FOR IBM DATA SERVER PRODUCT INSTALLATION | |
| product: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
| Problem description: | |
CLPPlus does not read db2dsdriver.cfg present under cfg folder
for IBM Data Server product installation or any customized path
chosen during response file installation.
By default: On AIXᄅ, HP-UX, Linux, or Solaris operating systems:
instance_path/cfg
On Windows 7 operating systems and later:
C:\ProgramData\IBM\DB2\driver_copy_name\cfg
For example the db2dsdirver.cfg under:
C:\ProgramData\IBM\DB2\DB2COPY1\cfg with below :
<configuration>
<dsncollection>
<dsn alias="ABCDE" name="ABCDE" host="TEST1.ABC.DEF.COM"
port="500">
<parameter name="InterruptProcessingMode" value="1"/>
</dsn>
</dsncollection>
</configuration>
Note: DB2DSDRIVER_CFG_PATH is not set.
C:\Program Files\IBM\SQLLIB\BIN>clpplus -nw
CLPPlus: Version 1.6
Copyright (c) 2009, 2011, IBM CORPORATION. All rights reserved.
SQL> connect
Enter DATABASE NAME [SAMPLE]: ABCDE
Enter HOSTNAME [localhost]: TEST1.ABC.DEF.COM
Enter PORT [50000]:500
Enter ID: TEST1
Enter password: ********
If the db2dsdriver.cfg is read, there should be a message
similar to the below:
DB250001I and read the hostname and port number from
db2dsdriver.cfg as shown here below without having to re-enter
it during connect.
SQL> connect
DB250001I: CLPPlus has successfully read the configuration file
named
'c:\ProgramData\ibm\db2\db2copy1\cfg\db2dsdriver.cfg'.
Enter DATABASE NAME [SAMPLE]: ABCDE
Enter ID: TEST1
Enter password: ******** | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * IBM Data Server Driver Users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FP10 or higher * **************************************************************** | |
| Local Fix: | |
Set the DB2DSDRIVER_CFG_PATH registry variable to the file name and path where db2dsdriver.cfg is located which is valid only for that CLPPlus session | |
| Solution | |
First fixed in DB2 V9.7 FP10 | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.08.2014 17.11.2014 17.11.2014 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.10 |
|