Trace Class

CICS Transaction Gateway V10.1.0.0
Provides methods for controlling trace in IBM.CTG.Client.dll.
Inheritance Hierarchy

SystemObject
  IBM.CTGTrace

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax

public static class Trace

The Trace type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberDataDumpLength
Gets or sets the maximum amount of data traced in each data block at CtgTrcLevel4.
Public propertyStatic memberDataDumpOffset
Gets or sets the starting offset in each data blocks when tracing at CtgTrcLevel4.
Public propertyStatic memberTraceLevel
Gets or sets the trace level.
Top
Methods

  NameDescription
Public methodStatic memberDumpState
Traces internal debugging information.
Public methodStatic memberSetTraceFile Obsolete.
This method is obsolete and should no longer be used.
Top
Remarks

Trace in IBM.CTG.Client.dll can be enabled using an application or web configuration file, or programmatically using the Trace class. Enabling trace using an application or web configuration file Trace can be enabled using the CtgTrace trace switch in an application configuration file. The switch allows the trace level to be specified as a CICS TG TraceLevel value, a .NET Framework TraceLevel value, or an integer between 0 and 4 inclusive. The switch also supports optional attributes dataDumpLength and dataDumpOffset, which control the maximum amount of data written and the starting offset into the data for trace points written at CtgTrcLevel4. Enabling trace programmatically using the Trace class The Trace class provides the following members for controlling trace: TraceLevelDataDumpLengthDataDumpOffset
Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also

Reference