The SASTRACE= option
has behavior that is specific to
SAS/ACCESS software. SASTRACE= is
a very powerful tool to use when you want to see the commands that
the
SAS/ACCESS engine sends. SASTRACE= output is DBMS-specific. However,
most
SAS/ACCESS engines show statements like SELECT or COMMIT as the
DBMS processes them for the SAS application. These details can help
you manage SASTRACE= output for your files:
-
When using SASTRACE= on PC platforms,
you must also specify SASTRACELOC= options, as described in
SASTRACELOC.
-
To turn SAS tracing off, specify
this option:
options sastrace=off;
-
Log output is much easier to read
if you specify NOSTSUFFIX. Here is an example:
OPTIONS SASTRACE=',,,d' SASTRACELOC=SASLOG NOSTSUFFIX;
Note: By default, Microsoft Access
and Microsoft Excel LIBNAME engines use ROWSET_INSERT instead of executing
the SQL INSERT command. You do not see the INSERT statement in the
trace log when inserting rows into a table. You can use the LIBNAME
statement or the SQL_INSERT=YES option to see the INSERT statement
in the trace log.