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.
- Use the DB2DSDRIVER_CFG_SOURCE_PATH response file keyword to specify the file name and path during the IBM data server product installation.
- Set the DB2DSDRIVER_CFG_PATH registry variable to the file name and path.
- Embedded SQL
- OLE DB
- Ruby on Rails
- Java (Limited keywords Support)
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.