Using the TraceFile object – PB Docs 125

Using the TraceFile object

To access the data in the trace file directly, you create
a TraceFile object, open a trace file, and then use the NextActivity function
to access each activity in the trace file sequentially. For each
node, determine what activity type it is by examining the TraceActivity enumerated
datatype, and then use the appropriate trace object to extract information.

Example: direct access to trace data

The following example creates a TraceFile object, opens a
trace file called ltcf_file, and then
uses a function called of_dumpActivityNode to
report the appropriate information for each activity depending on
its activity type.

The following code shows part of of_dumpActivityNode:


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