Chapter Contents

Previous

Next
AUTOEXEC=

AUTOEXEC=



Specifies the autoexec file

Default: SASEXEC
Valid in: configuration file, SAS invocation
Category: Environment Control: ENVFILES
OS/390 specifics: file-specification


Syntax
Details
See Also

Syntax

AUTOEXEC=file-specification | NOAUTOEXEC

file-specification
identifies an external file. Under OS/390, it can be a valid DDname, a physical file name, or the name of a file stored in the directory structure of UNIX System Services. The DDname must have been previously associated with an external file using either a TSO ALLOCATE command or a JCL DD statement.

NOAUTOEXEC
disables AUTOEXEC, as if the file-specification was null.


Details

The autoexec file contains SAS statements that are executed automatically when you invoke SAS. The autoexec file can contain any SAS statements. For example, you can include LIBNAME statements for SAS data libraries that you access routinely in SAS sessions.

During initialization, SAS checks to see whether the SASEXEC DDname has been allocated. If so, SAS initializes AUTOEXEC= to SASEXEC, else it sets it to blank.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.