IgnoreWarnings CLI/ODBC and IBM data server driver configuration keyword
Ignores database manager warnings.
- db2cli.ini keyword syntax:
- IgnoreWarnings = 0 | 1
- IBM® data server driver configuration file (db2dsdriver.cfg) syntax:
- <parameter name="IgnoreWarnings" value="0 | 1"/>
Attention: The IBM data server
driver configuration
file (db2dsdriver.cfg) syntax is available in Db2 11.5.4 and later.
- Default setting:
- Warnings are returned as normal.
- Usage notes:
On rare occasions, an application will not correctly handle
warning messages. This keyword can be used to indicate that warnings
from the database manager are not to be passed to the application.
The possible settings are:
- 0 - Warnings are reported as usual (default)
- 1 - Database manager warnings are ignored and SQL_SUCCESS is returned. Warnings from the Db2® CLI/ODBC driver are still returned; many are required for normal operation.