Tracing and accounting functions

Table 1-8 contains Gateway-Library functions that are available for tracing and accounting. These functions are used primarily by a system programmer.

Table 1-8: Functions for tracing and accounting

Task

Function

Turn mainframe-based tracing on or off.

TDSETLOG

Write a user-defined or system entry to the trace/error log.

TDWRTLOG

Return trace setting information.

TDINFLOG

Set tracing on or off for a specified transaction.

TDSETSPT

List all transactions for which specific tracing is enabled.

TDLSTSPT

Indicate whether tracing is on or off for a specified transaction.

TDINFSPT

Turn mainframe-based accounting on or off.

TDSETACT

Determine whether accounting is on and the name of the accounting log file.

TDINFACT