System Options under UNIX |
Defines an environment variable.
Default: |
none
|
Valid in: |
configuration file, SAS invocation, OPTIONS
Statement, SASV9_OPTIONS environment variable
|
Category: |
Environment control: Files
|
PROC OPTIONS GROUP= |
ENVFILES
|
UNIX specifics: |
all
|
The SET option lets you define an environment
variable that is valid within the SAS session and any shell started from within
the SAS session. Using the SET option is similar to using the SAS setenv
command. See Executing Operating System Commands from Your SAS Session for information
.
A special use for the SET option is to specify the name
of the !SASROOT directory:
-set SASROOT pathname
The pathname specified can then be used to
expand !SASROOT
(as shown in Character Substitutions in Pathnames).
After exiting your SAS session, environment variables
that are set with the SET option no longer
exist.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.