APPEND System Option: Windows

Used when SAS starts, appends the specified value at the end of the specified system option.

Valid in: configuration file, SAS invocation, OPTIONS statement, System Options window
PROC OPTIONS GROUP= ENVFILES
Default: none
Windows specifics: SAS invocation syntax

Syntax

Required Arguments

system-option

can be AUTOEXEC, CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SAMPLOC, SASAUTOS, SASHELP, SASSCRIPT, or SET.

argument

specifies a new pathname or an environment setting that you want to append to the current value of system-option. The following example shows that a library is being appended to the FMTSEARCH option:

-set APFMTLIB “SASEnvironment/SASFormats”
-append fmtsearch APFMTLIB

Details

By default, if you specify the AUTOEXEC, CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SASSCRIPT, SASHELP, or SET system option more than one time, the last value that is specified is the value that SAS uses. If you want to append pathnames to the pathnames that were already specified by one of these options, you must use the APPEND or INSERT system option to append the new pathname. For example, if you entered the following SAS command, the only location that SAS looks for help files is c:\app2\help, and the output of PROC OPTIONS shows only C:\app2\help:
sas -helploc “c:\app1\help” -helploc “c:\app2\help”
If you want SAS to look in both locations for help files, you can append the new location to the value of the HELPLOC option using the APPEND option:
sas -helploc “c:\app1\help” -append helploc “c:\app2\help”
For the value of the HELPLOC option, PROC OPTIONS now shows
(“c:\app1\help” “c:\app2\help”)

See Also

APPEND= System Option in SAS System Options: Reference
INSERT= System Option in SAS System Options: Reference