Using the tracing facility  Specific tracing example

Chapter 5: Tracing and Accounting

Trace table for individual transactions

When you enable tracing for an individual transaction, TDSETSPT adds the transaction to a trace table. The trace table can contain up to eight entries. For examples of trace tables, see the next section, “Specific tracing example”.

When you disable tracing for a transaction, its position in the trace table becomes available for another transaction. If all eight positions are in use, you can trace more transactions only if you turn tracing off for one of the transactions in the list or set global tracing on.

You can query the trace table in two ways:





Copyright © 2005. Sybase Inc. All rights reserved. Specific tracing example

View this book as PDF