TraceStmtOnly CLI/ODBC configuration keyword
Only trace dynamic SQL statements in the CLI/ODBC trace.
- db2cli.ini keyword syntax:
- TraceStmtOnly = 0 | 1
- Default setting:
- Trace information is not limited to only dynamic SQL statements.
- Only applicable when:
- the Trace option is turned on.
- Usage notes:
When TraceStmtOnly is set to 1, only dynamic SQL statements will be recorded in the trace file.
This option is only used when the CLI/ODBC Trace option is turned on.
(This option is contained in the Common section of the initialization file and therefore applies to all connections to Db2®.)