SELECT TRACE


General Forms:

1.
SELECT TRACE

2.      SELECT TRACE



The TRACE select parameter allows the output from the TRACE command and the $COMPILE statement to be written to a server file or device. By default in the workbench debugger this output would go to the trace window. If the terminal does not support the Workbench then output would be directed to the /005 device by default. This can be very confusing so redirection with SELECT TRACE is very helpful on such terminals. If SELECT TRACE is specified on its own then the output is device is reset to the default.

Example:

TRACE 1000,5000
SELECT TRACE "/tmp/TRACEfile"

This would copy the output from the TRACE command into the file `/tmp/tracefile', allowing the program to run without interfering with the screen display.

Syntax examples:

SELECT TRACE /204
SELECT TRACE <tracefile$>
SELECT TRACE "/user1/tracefile"
SELECT TRACE /204, PRINT /005

See also:

TRACE, $COMPILE, ON ... SELECT