DB2 Version 9.7 for Linux, UNIX, and Windows

Diaglevel IBM Data Server Driver configuration keyword

Specifies the diagnostic error capture level configuration parameter (diaglevel).

Equivalent CLI keyword
DiagLevel
Equivalent IBM® Data Server Provider for .NET connection string keyword
N/A
db2dsdriver.cfg configuration syntax
<parameter name="diaglevel" value="0 | 1 | 2 | 3 | 4 "/>
Default setting:
3
Usage notes:
You can configure the Diaglevel configuration keyword to specify the diaglevel, which affects the type of diagnostic messages that are recorded in the db2dsdriver.cfg file. For clients with access to the database manager configuration file (dbm cfg), if the diaglevel setting is set in both the database manager configuration file and the db2dsdriver.cfg file, the diaglevel that is set in the database manager configuration file takes precedence.

You must set the Diaglevel configuration keyword in the global parameter section of the db2dsdriver.cfg file. You cannot set the Diaglevel configuration keyword in the database section or DSN section of the db2dsdriver.cfg file.

The Diaglevel setting is not associated with a database connection, and cannot be configured by Is therusing the DB2Connection or DB2ConnectionStringBuilder class.