Previous Page | Next Page

System Options under z/OS

AUTOEXEC= System Option: z/OS



Specifies the SAS autoexec file.
Default: none
Valid in: configuration file, SAS invocation
Category: Environment Control: ENVFILES
PROC OPTIONS GROUP= ENVFILES
z/OS specifics: file-specification

Syntax
Details
See Also

Syntax

AUTOEXEC=file-specification | NOAUTOEXEC

file-specification

identifies an external file. Under z/OS, it can be a valid ddname, a physical filename, or the name of a file stored in the directory structure of the UNIX file system. 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 blank.


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 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. Otherwise, it sets it to null.


See Also

Previous Page | Next Page | Top of Page