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 |
PROC OPTIONS GROUP= | ENVFILES |
Default: | none |
Windows specifics: | SAS invocation syntax |
can be AUTOEXEC, CMPLIB, FMTSEARCH, HELPLOC, MAPS, MSG, SASSCRIPT, SASAUTOS, SASHELP, or SET.
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 APFMTLIB
c:\app2\help,
and
the output of PROC OPTIONS shows 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 can append the new location to the value of the HELPLOC
option using 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 shows (“c:\app2\help” “!sasroot\nls\en\help”)