SASTRACELOC= System Option

Prints SASTRACE= information to a specified location.
Valid in: configuration file, SAS invocation, OPTIONS statement
Default: stdout
Data source: DB2 UNIX/PC, HP Neoview, Informix, Microsoft SQL Server, MySQL, Netezza, ODBC, OLE DB, Oracle, Sybase, Teradata
See: SASTRACE= system option

Syntax

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

Details

SASTRACELOC= lets you specify where to put the trace messages that SASTRACE= generates. By default, output goes to the default output location for your operating environment. Specify SASTRACELOC=SASLOG to send output to a SAS log.
This option and its values might differ for each host.

Example: Specify a Location for the Trace Log

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