INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_tracefile_set()

The mi_tracefile_set() function sets the file to which trace messages will be written.

Syntax

Usage

If mi_tracefile_set() is not run, trace output is written to a default trace file in the /tmp directory. For example, a possible default name is /tmp/113.trc. The integer value in the filename is the session ID.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Example

The following example sets the trace file name to test14_may2.trc in the /d2/udr/tests directory:

Related Topics

For additional information, see "Tracing" and the description of the mi_tracelevel_set() function.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.