DB2 Version 10.1 for Linux, UNIX, and Windows

IBM data server driver configuration file

The IBM® data server driver configuration file contains database directory information and client configuration keywords. The IBM data server driver configuration file is an XML file that is based on the db2dsdriver.xsd schema definition file.

The default name of the IBM data server driver configuration file is db2dsdriver.cfg. You can specify a customized name for the IBM data server driver configuration file and a path for the file by using one of the following methods:
You can use the IBM data server driver configuration file with the following types of applications:

You can associate the client configuration keywords globally, meaning with all database connections, or you can associate the keywords with a specific database source name (DSN) or database connection. You can also use the configuration file to enable a high availability connection to supported databases.

You can use the IBM data server driver configuration file to set the database name, host name, port number, and configuration keywords. You can also use the configuration file with defined aliases.

The IBM data server driver configuration file supports a set of XML tags that are in lowercase and do not include the underscore (_). XML tag attributes, which are where you specify IBM data server driver configuration keywords, can contain uppercase, lowercase, and underscore (_) characters.

The sample IBM data server driver configuration file, named db2dsdriver.cfg.sample, is included with IBM data server products.