Using the tracing facility  Trace table for individual transactions

Chapter 5: Tracing and Accounting

Procedure for using the trace facility

  1. Call TDSETLOG and perform the following steps for global or specific tracing.

    For this type of tracing

    Do this

    Global

    1. Set the trace flag to the TRACE ALL RPCS option.

    2. Set the flag for each desired kind of tracing to TRUE.

    NoteIf you want to enable tracing for the entire program, TDSETLOG must precede TDACCEPT.

    Specific

    1. Set the trace flag to the TRACE SPECIFIC RPCS option.

    2. Set the flag for each desired type of tracing to TRUE.

    Both global and specific

    1. Perform the previous steps for global and specific tracing.

    2. If you are developing under CICS and want to enable API tracing, give the auxiliary trace log a CICS ID.

    NoteYou can use TDINFLOG at any time to check the value of the settings.

  2. For each transaction for which you want trace activity, call TDSETSPT and perform the following steps.

    1. Identify the transaction.

    2. Set the transaction trace flag to TRUE.

    3. Set the trace options flags for the type(s) of tracing desired.

      NoteYou can enable tracing for up to eight transactions at a time.





Copyright © 2005. Sybase Inc. All rights reserved. Trace table for individual transactions

View this book as PDF