TSAFuncsTraceLevel function

The TSAFuncsTraceLevel function enables tracing on advanced analytics functions.

Syntax

TSAFuncsTraceLevel('TSAF_DEBUG 1')          
returns INTEGER

Usage

Run the TSAFuncsTraceLevel function to enable tracing if you want to view the entry points of advanced analytics functions. The tracing file is named /tmp/sessionID.trc, where sessionID is the session ID. You can change the location and name of the tracing file with the TSAFuncsTraceFile function.

Returns

0 = Tracing is enabled.

An error.

Example

The following statement enables tracing:

EXECUTE FUNCTION TSAFuncsTraceLevel('TSAF_DEBUG 1');