Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetTraceFileName – PB Docs 2019 – PowerBuilder Library

SetTraceFileName – PB Docs 2019

SetTraceFileName

PowerScript function

Description

Specifies the name of the trace file PowerBuilder will analyze when
the BuildModel function is called.

Applies to

Profiling and TraceTree objects

Syntax

Argument

Description

instancename

Instance name of the Profiling or TraceTree object

tracefilename

A string that identifies the name of the trace file
PowerBuilder will analyze

Return value

ErrorReturn. Returns one of the following values:

  • Success! — The function succeeded

  • FileOpenError! — The file could not be opened

  • FileInvalidFormatError! — The trace file is not in the correct
    format

  • ModelExistsError! — A model has already been built

If an error occurs, the name is not set.

Usage

Use this function to specify the trace file PowerBuilder should
analyze with the BuildModel function. You call the SetTraceFileName
function before calling the BuildModel function.

Examples

This example provides the name of the trace file for which a
performance analysis model is to be built:

See also

BuildModel


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