TraceFile

Description

Specifies that the JDBC Driver Manager Trace tool should trace a connection to the database you access through the PowerBuilder JDBC interface.

Applies to

Syntax

TraceFile='tracefile_name'

Default

None

Usage

The JDBC Driver Manager Trace logs errors and informational messages originating from the Driver object currently loaded (such as the Sybase jConnect JDBC driver) when PowerBuilder connects to a database through the JDBC interface. It writes this information to a log file (default is JDBC.LOG) or to a file you specify. The amount of trace output varies depending on the JDBC driver being used.

You can start and stop the JDBC Driver Manager Trace in the PowerBuilder development environment by editing the database profile for the connection you want to trace. You can also start and stop the JDBC Driver Manager Trace in a PowerBuilder application by specifying the TraceFile parameter in the appropriate script.

For more information about using the JDBC Driver Manager Trace tool, see Connecting to Your Database.

Examples

Example 1

To start the JDBC Driver Manager Trace and specify a log file: