Chapter 16. Tracing Ibm Data Server Driver For Jdbc And Sqlj C/C++ Native Driver Code; Db2Jcctrace - Format Ibm Data Server Driver For Jdbc And Sqlj Trace Data For C/C++ Native Driver Code - IBM DB2 Manual

Table of Contents

Advertisement

Chapter 16. 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.
To collect, format, and print the trace data for the C/C++ native driver code,
follow these steps:
1. Enable tracing of C/C++ native driver code by setting a value for the
2. Run the db2jcctrace command from the z/OS UNIX System Services command
Suppose that db2.jcc.t2zosTraceFile has this setting:
db2.jcc.t2zosTraceFile=/SYSTEM/tmp/jdbctraceNative
Execute 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
db2jcctrace - Format IBM Data Server Driver for JDBC and SQLJ trace
data for C/C++ native driver code
db2jcctrace writes formatted trace data for traces of C/C++ native driver code
under IBM Data Server Driver for JDBC and SQLJ type 2 connectivity.
By default, the trace data is written to stdout. You can pipe the output to any file.
db2jcctrace syntax
db2jcctrace
format
flow
information
Notes:
1
You must specify one of these parameters.
© Copyright IBM Corp. 1998, 2008
db2.jcc.t2zosTraceFile global configuration property.
That value is the name of the file to which the IBM Data Server Driver for
JDBC and SQLJ writes the trace data.
line.
By default, the trace data goes to stdout. You can pipe the data to another file.
Related concepts
"Customization of IBM Data Server Driver for JDBC and SQLJ configuration
properties" on page 416
Related reference
"db2jcctrace - Format IBM Data Server Driver for JDBC and SQLJ trace data for
C/C++ native driver code"
(1)
input-file-name
491

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents