Each autocall macro
library consists of files in a UNIX directory. The
directory-specification can be the pathname of a UNIX directory, a fileref,
or an environment variable.
If you specify the pathname
of a directory, you must enclose the name in quotation marks. You
can omit the quotation marks only if you are specifying the option
in the configuration file, in the SAS command, or in the SASV9_OPTIONS
environment variable, and if the name cannot be taken to be a fileref.
How you specify multiple
directory names, filerefs, or environment variables depends on where
you specify the SASAUTOS option:
-
If you specify the SASAUTOS option
in the configuration file or in the SASV9_OPTIONS environment variable,
use either multiple SASAUTOS options, or enclose the directory names
in parentheses. Separate the names with a comma or a blank space.
-
If you specify the SASAUTOS option
in the SAS command, use the APPEND or INSERT system options to append
to the end or insert at the beginning of the current SASAUTOS value.
For example, the following code adds
/users/userid/also
to the end of the current SASAUTOS value,
/users/userid/here
:
sas -sasautos /users/userid/here -append sasautos /users/userid/also
-
If you specify the SASAUTOS option
in the OPTIONS statement or in the
SAS System Options window,
you must enclose the directory names in parentheses. Separate the
names with a comma or a blank space.
At configuration time, SAS concatenates all directories
specified for SASAUTOS. However, after the session starts, any new
directories that you specify override any current autocall libraries.
The NOSASAUTOS option
causes SAS to ignore all previous SASAUTOS specifications (whether
specified in the SAS command, in the configuration file, or in the
SASV9_OPTIONS environment variable).
The default value of
the SASAUTOS option is the SASAUTOS fileref. There is no UNIX directory
assigned to the fileref, so you must define the SASAUTOS fileref if
you want to use it as your autocall library.