Previous Page | Next Page

SAS System Options under Windows

INSERT System Option: Windows



Used when SAS starts, inserts the specified value at the beginning 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

-INSERT system-option argument

system-option

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

argument

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

-set APFMTLIB "SASEnvironment/SASFormats"
-insert fmtsearch APFMTLI

Details

By default, if you specify the FMTSEARCH, HELPLOC, MAPS, MSG, SAMPLOC, SET, SASSCRIPT, SASAUTOS, or SASHELP system option more than one time, the last specification is the one that SAS uses. If you want to insert additional pathnames in front of the search paths that have already been specified by one of these options, you must use the INSERT 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 only show c:\app2\help:

sas -helploc "c:\app2\help"

If you want SAS to look in both the current path for help files and in c:\app2\help and if you want SAS to search c:\app2\help first, then you must use the INSERT option:

sas -insert helploc "c:\app2\help"

If your current path for help files is !sasroot\nls\en\help, then for the value of the HELPLOC option, PROC OPTIONS will now show

("c:\app2\help" "!sasroot\nls\en\help")


See Also

Previous Page | Next Page | Top of Page