TraceRefreshInterval IBM data server driver configuration keyword

In seconds, the TraceRefreshInterval keyword sets the interval at which the SwitchDb2trace keyword is read from the global section of the db2dsdriver.cfg file.

Attention: This feature is available in version 11.5.4 and later versions.
db2cli.ini keyword syntax:
TraceRefreshInterval
Equivalent IBM® Data Server Provider for .NET connection string keyword
Not available.
IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="TraceRefreshInterval" value="5"/>
Default setting:
Off
Usage notes:

When TraceRefreshInterval is set to a nonzero positive integer value, a thread is spawned to monitor the db2cli.ini and db2dsdriver.cfg file. This keyword can be specified only in global section of the db2dsdriver.cfg file.

Setting this keyword before an application is initialized allows you to dynamically turn on and off the db2 trace within n seconds, by setting the different values for the SwitchDb2trace keyword.

Setting TraceRefreshInterval while the application is running will have no effect. For this keyword to take effect, it must be set before the application is initialized.