TraceFile – PB Docs 126

TraceFile database parameter

Description

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

Controls

  • JDB JDBC

Syntax

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

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

  • Database
    profile

    Select the Trace JDBC Calls check box and type the following
    in the Trace File box on the Options page in the Database Profile Setup
    dialog box:

  • Application

    Type the following in code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x