TSPMatchSetTraceFile function

The TSPMatchSetTraceFile function sets the location and name of the tracing file for pattern matching routines.

Syntax

TSPMatchSetTraceFile(
                               trace_file   LVARCHAR)
returns INTEGER
trace_file
The path and name of the tracing file.

Usage

Run the TSPMatchSetTraceFile function to give the tracing file for pattern matching routines a different name and location from the default of /tmp/sessionID.trc, where sessionID is the session ID.

Returns

  • 0 = Tracing is enabled.
  • An error.