A SERVICE OF

logo

Macro Variables and System Options for Relational Databases VALIDVARNAME= System Option 225
Syntax
SASTRACELOC=stdout | SASLOG | FILE ’path-and-filename’
Details
SASTRACELOC is a SAS system option that enables you to 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 a
SAS log by specifying SASTRACELOC=SASLOG.
Note: This option and its values may differ for each host.
Example
On a PC platform, you submit the following code:
options sastrace=’,,,d’ sastraceloc=file ’c:\work\trace.log’;
In this example, trace information is written to the TRACE.LOG file in the WORK
directory on the C drive.
VALIDVARNAME= System Option
Controls the type of SAS variable names that can be used or created during a SAS session
Valid in:
V7
Default value: configuration file, SAS invocation, OPTIONS statement, OPTIONS window.
Syntax
VALIDVARNAME= V7 | V6 | UPCASE | ANY
SAS/ACCESS Specific Details
VALIDVARNAME is a SAS system option that interacts with SAS/ACCESS
applications. It enables you to control which rules apply for SAS variable names. For
more information about the VALIDVARNAME= system option, see the SAS Language
Reference: Dictionary. The settings are as follows:
VALIDVARNAME= V7
indicates that a DBMS column name is changed to a valid SAS name by using the
following rules:
Up to 32 mixed-case alphanumeric characters are allowed.
Names must begin with an alphabetic character or an underscore.
Invalid characters are changed to underscores.