The bdttrace() function

The bdttrace() function specifies the location where the trace file is written.

Syntax

bdttrace(filename)
filename
The full path and name of the file to which trace information is appended. The file must be writable by user informix. If no file name is provided, a standard session_id.trc file is placed in the $INFORMIXDIR/tmp directory. If the file already exists, the trace information is appended to the file.

Usage

Use the bdttrace() function to troubleshoot events related to binary data types.

To enable tracing, create a trace class by inserting a record into the systemtraceclasses system catalog:
insert into informix.systraceclasses(name) values ('binaryUDT')

For more details regarding tracing, see the HCL OneDB™ Guide to SQL: Reference.

Example

bdttrace(tracefile)