Tracing IBM Data Server Driver for JDBC and SQLJ C/C++ native driver code
To debug applications that use IBM Data Server Driver for JDBC and SQLJ type 2 connectivity on Db2 for z/OS®, you might need to trace the C/C++ native driver code.
Procedure
To collect, format, and print the trace data for the C/C++ native driver code, follow these steps:
Example
db2.jcc.t2zosTraceFile=/SYSTEM/tmp/jdbctraceNativeExecute
this command to format all available trace data for the C/C++ native
driver code, and send the output to stdout:db2jcctrace format flow /SYSTEM/tmp/jdbctraceNative