Chapter Contents |
Previous |
Next |
AUTOEXEC |
Default: | autoexec.sas (see Details below)
|
Valid in: | SAS invocation, SASV8_OPTIONS environment variable, configuration file |
UNIX specifics: | all |
Syntax | |
Details | |
See Also |
Syntax |
-AUTOEXEC filename | -NOAUTOEXEC |
Details |
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 data libraries that you access routinely in SAS sessions.
The SAS System looks for this option on the command line, then in the environment variable SASV8_OPTIONS, and finally in the configuration file. It uses the first AUTOEXEC option it encounters.
If neither AUTOEXEC nor NOAUTOEXEC is specified, the
SAS System searches three directories for an
autoexec.sas
file in the
following order:
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 the SAS System.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.