Previous Page | Next Page

SAS System Options under Windows

APPEND System Option: Windows



Used when SAS starts, appends the specified value at the end of the specified system option.
Default: none
Valid in: configuration file, SAS invocation
PROC OPTIONS GROUP= ENVFILES
Windows specifics: all

Syntax
Details
See Also

Syntax

-APPEND system-option argument

system-option

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

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 FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SET, SASSCRIPT, or SASHELP system option more than one time, the last value that is specified is the value that SAS uses. If you want to add pathnames to the pathnames that were already specified by one of these options, you must use the APPEND system option to add the new pathname. For example, if you entered the following SAS command, the only location that SAS will look for help files is c:\app2\help, and the output of PROC OPTIONS will show 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 must use the APPEND option:

sas -helploc "c:\app1\help" -append helploc "c:\app2\help"

For the value of the HELPLOC option, PROC OPTIONS will now show

("c:\app1\help" "c:\app2\help")


See Also

Previous Page | Next Page | Top of Page