DB2 Version 9.7 for Linux, UNIX, and Windows

IgnoreWarnings CLI/ODBC configuration keyword

Ignores database manager warnings.

db2cli.ini keyword syntax:
IgnoreWarnings = 0 | 1
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.
Although this keyword can be used on its own, it can also be used with the WarningList CLI/ODBC configuration keyword.