TSAFuncsTraceFile function

The TSAFuncsTraceFile function sets the file name and path of the trace file for advanced analytics functions.

Syntax

TSAFuncsTraceFile (trace_file     LVARCHAR) 
returns INTEGER
trace_file

The path and name of the trace file.

Usage

Run the TSAFuncsTraceFile function to give the trace file for advanced analytics functions a different name and location from the default of /tmp/sessionID.trc, where sessionID is the session ID. You enable tracing with the TSAFuncsTraceLevel function.

Returns

0 = The trace file name and path are set.

An error.

Example

The following statement sets the file name and path of the trace file:

EXECUTE FUNCTION TSAFuncsTraceFile(/usr/mytrace/timeseries.trc);