System Options under UNIX |
Syntax | |
Details | |
See Also |
Syntax |
-AUTOEXEC file-specification | -NOAUTOEXEC |
specifies the SAS autoexec file. The file-specification must resolve to a valid UNIX pathname.
Details |
The AUTOEXEC system option specifies the autoexec file. The autoexec file contains SAS statements that are executed automatically when you invoke SAS or when you start another SAS process. The autoexec file can contain any SAS statements. For example, your autoexec file can contain LIBNAME statements for SAS libraries that you access routinely in SAS sessions.
SAS looks for this option in the following order:
It uses the first AUTOEXEC option it encounters and ignores all others.If neither AUTOEXEC nor NOAUTOEXEC is specified, SAS searches three directories for an autoexec.sas file in the following order:
the !SASROOT directory (see The !SASROOT Directory)
If you want to see the contents of the autoexec file for your session, use the ECHOAUTO system option when you invoke SAS.
See Also |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.