Nondefault DB Trace Log File
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \Nondefault DB Trace Log File
UI for
DB Profiles
INFORMIX 7.x
DB Interface
Oracle 7.3
DB Interface
Oracle 8.0
DB Interface
INTERSOLV DB2
ODBC Driver
Sybase Open
Client 11.1
Sybase 10 & 11
Dist App Interface
Release DBParm
Sybase OC
11.1 Security
Sybase OC
11.1 Directory
Accessing MS
SQL Server 6.5
ODBC 3.0
Sybase
DirectConnect
CommitOn-
Disconnect
DateTimeAllowed
DBParm
DBGatewayUDT
DBParm
FormatArgsAsExp
DBParm
HostReqOwner
DBParm
LowerCaseIdent
DBParm
ModifySyntax
DBParm
PWDialog
DBParm
TableCriteria
DBParm
ThreadSafe
DBParm
TrimSpaces
DBParm
TRS DBParm
AutoCommit in
Net-Gateway
PBCatalogOwner
in Oracle
Increased
DBParm Strings
PRINT Stmts
in Stored Procs
Nondefault DB
Trace Log File
Automatically
Connect to DB

Description

You can now specify a nondefault name and location for the log file when you use the Database Trace tool in PowerBuilder or InfoMaker to trace database connections through ODBC or a native Powersoft database interface.

By default, PowerBuilder or InfoMaker writes Database Trace output to a log file named PBTRACE.LOG located in your Windows directory, System Folder:Preferences folder (on Macintosh), or $HOME directory (on UNIX). You can override this default by editing your PowerBuilder or InfoMaker initialization file to specify the name and location of the log file you want Database Trace to use.

Purpose

Specifying a nondefault name and location for the Database Trace log file lets you control where PowerBuilder or InfoMaker writes the output of the Database Trace tool. You can give the log file a name and location that best meets the development needs at your site.

Usage

You can specify a nondefault Database Trace log file by editing your PowerBuilder or InfoMaker initialization file. The name and location of the initialization file depends on your product and platform:

Product

Windows

Macintosh

UNIX

PowerBuilder

PB.INI in product directory

System Folder:Preferences:
Powersoft 6.0 Preferences:
PowerBuilder Preferences

$HOME/.pb.ini

InfoMaker

IM.INI in product directory

System Folder:Preferences:
Powersoft 6.0 Preferences:
InfoMaker Preferences

  • To specify a nondefault Database Trace log file:
  1. Open the PowerBuilder or InfoMaker initialization file for editing.
  2. You can use the File Editor (in PowerBuilder or InfoMaker) or any text editor (outside PowerBuilder or InfoMaker).

  3. Create an entry named DBTraceFile in the [Database] section of the initialization file, using the following syntax to specify a nondefault log file:
  4. [Database]

    ...
    DBTraceFile=log_file_pathname

    For example:

    [Database]

    ...
    DBTraceFile=c:\temp\mydbtrce.log

  5. Save your changes to the initialization file.
  6. The next time you use the Database Trace tool to trace a connection, PowerBuilder or InfoMaker writes the output to the log file you specified instead of to the default PBTRACE.LOG file.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com