Chapter Contents |
Previous |
Next |
AUTOEXEC= |
Language element: | system option |
Default: | SAS$INIT, if SAS$INIT is defined, otherwise no default |
Valid in: | configuration file, SAS invocation, VMS_SAS_OPTIONS DCL symbol |
OpenVMS specifics: | valid values for file-specification; syntax |
Syntax | |
Details | |
See Also |
Syntax |
AUTOEXEC=file-specification |
NOAUTOEXEC |
The file specification can be an OpenVMS pathname or logical name. If you do not supply a file type, the type .SAS is assumed.
Note: For Version 8, in PROC OPTIONS, this system option is
listed as AUTOEXEC= rather than NOAUTOEXEC
as it was in Version 6.
Details |
The AUTOEXEC= system option specifies the autoexec file. The autoexec file contains SAS statements that are executed automatically when you invoke the SAS System or when you start another SAS process. The autoexec file can contain any valid SAS statements. For example, you can include LIBNAME statements for SAS data libraries you access routinely in SAS sessions.
System-, group-, and job-level SAS$INIT files are processed regardless of the value of the AUTOEXEC= system option and regardless of whether the process-level SAS$INIT logical name exists.
In Version 8 of the SAS System, whenever any level of SAS$INIT is processed as an AUTOEXEC file, the value of AUTOEXEC= from PROC OPTIONS is AUTOEXEC=SAS$AUTO. To see which files are actually processed as autoexecs, issue the following SAS statement:
x 'show logical SAS$AUTO';
Note: Although SAS$INIT is
the OpenVMS logical name that is used
to specify one or more autoexec files, SAS$AUTO is
returned from PROC OPTIONS when SAS$INIT is
processed at any
level.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.