INSERT System Option: UNIX

Used when SAS starts; inserts the specified value at the beginning of the specified system option.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Environment control: Files
PROC OPTIONS GROUP= ENVFILES
Default: none
UNIX specifics: configuration file, SAS invocation syntax
Note: This option cannot be restricted by a site administrator. For more information, see Restricted Options in SAS System Options: Reference.
See: INSERT= System Option in SAS System Options: Reference

Syntax

-INSERT system-option new-option-value

Required Arguments

system-option
can be FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SASHELP, SASSCRIPT, SET, AUTOEXEC, or CMPLIB
new-option-value
is the new value that you want to insert at the beginning of the current value of system-option.

Details

By default, if you specify the AUTOEXEC, CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SASAUTOS, SASHELP, SASSCRIPT, or SET system option more than one time, the last value that is specified is the value that SAS uses. If you want to add additional pathnames to the pathnames already specified by one of these options, use the INSERT system option to add the additional pathnames. For example, if you enter the following SAS command, the only location in which SAS looks for help files is /apps/help. The output of PROC OPTIONS shows only /apps/help.
sas -helploc /apps/help
If you want SAS to look in both the current path for help files, and in /sas/help, and if you want SAS to look first in /apps/help, then you must use the INSERT option.
sas -insert helploc /apps/help
If the current path for help files is !SASROOT/X11/native_help, then PROC OPTIONS now shows the following for the value of the HELPLOC option:
('/apps/help' '!SASROOT/X11/native_help')

See Also

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