The Server Option trace functions provides three types of tracing:
API tracing, which traces Server Option calls
TDS header tracing
Tabular Data Stream™ (TDS) data tracing
TDS is the proprietary Sybase protocol that defines the format of data transmitted between client and server programs in an efficient, self-describing manner.
You can enable and disable any kind of transaction tracing globally or specifically, using these Server Option functions:
TDSETLOG – turns tracing on or off and changes the name of the trace log.
TDINFLOG – determines whether tracing is enabled and names the trace log.
TDSETSPT, TDLSTSPT, and TDINFSPT – enable, disable, and retrieve information about specific tracing.
TDWRTLOG – writes your own record or adds a system entry to the trace log file.
For complete descriptions and examples of these functions, see the appropriate Mainframe Connect Server Option Programmers Reference. PL/1 and COBOL versions of this guide are available.