System Options under OpenVMS |
Default: | SAS$INIT, if SAS$INIT is defined, otherwise no default |
Valid in: | configuration file, SAS invocation, VMS_SAS_OPTIONS DCL symbol |
Category: | Environment control: Files |
PROC OPTIONS GROUP= | ENVFILES |
OpenVMS specifics: | valid values for file-specification; syntax |
Syntax | |
Details | |
See Also |
Syntax |
AUTOEXEC=file-specification |
NOAUTOEXEC |
specifies an autoexec file to use instead of any existing process-level SAS$INIT file. Even if SAS$INIT is defined in your process-level logical name table, it is ignored. However, cluster-, system-, group-, and job-level autoexec files are still processed if they exist.
The file-specification argument can be an OpenVMS pathname or logical name. If you do not supply a file type, the type SAS is assumed.
indicates that no process-level autoexec file is processed even if one exists. If no process-level logical name SAS$INIT exists, NOAUTOEXEC is the default. The cluster-, system-, group-, and job-level autoexec files are still processed if they exist.
Note: 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 SAS 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 libraries you access routinely in SAS sessions.
System-, group-, cluster-, 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 SAS 9.2, 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 autoexec files, 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 |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.