SASTRACELOC

Writes SASTRACE information to a specified location.
Valid in: OPTIONS statement, configuration file, SAS invocation
Default: stdout

Syntax

SASTRACELOC= stdout | SASLOG | FILE 'path-and-filename'

Details

specify where to put the trace messages that are generated by SASTRACE=. By default, the output goes to the default output location for your operating environment. You can send the output to the SAS log by specifying SASTRACELOC=SASLOG.

Example: Write Information to the SAS Log

This example runs on a PC platform and writes trace information to the SASTRACELOC file in the work directory on the C drive.
options sastrace='d,,d,d' sastraceloc=file 'c:\work\trace.log';