If you specify a SAS
system option more than once, then the last specification of the option
is the one that SAS uses. You must use the APPEND system option if
you want to add additional values to the end of the value that is
already specified for the following options:
AUTOEXEC |
HELPLOC |
SASAUTOS |
CMPLIB |
MAPS |
SASHELP |
FMTSEARCH |
MSG |
SASSCRIPT |
For example, if your config file contains the following
option specification:
sasautos='prefix.prod.sasautos'
and
you enter the following SASRX command,
sasrx -sasautos 'prefix.more.sasautos'
then
the only location where SAS looks for autocall macros is
'prefix.more.sasautos'
.
The output of PROC OPTIONS shows
'prefix.more.sasautos'
as
the value of the SASAUTOS option.
If you want SAS to look
in both locations for autocall macros, then you must use the following
APPEND option:
sasrx -append=(sasautos='prefix.more.sasautos')
PROC
OPTIONS then shows the following value for the SASAUTOS option:
('prefix.prod.sasautos' 'prefix.more.sasautos')
If the original value
of
system-option
or
appended-value
is
enclosed in parentheses, then the resulting option value is merged
into one pair of parentheses. For example,
SASAUTOS=(.a.sasautos .b.sasautos)
APPEND=(sasautos=(.c.sasautos .d.sasautos))
sets the
value of the SASAUTOS option to
(.a.sasautos .b.sasautos .c.sasautos .d.sasautos)