Autoexec File

A SAS autoexec file contains SAS statements that are executed automatically whenever the SAS System is invoked. Any valid SAS statements are allowed.

The SAS System searches for an autoexec file whenever it is invoked. The name of the default autoexec file and where the SAS System looks for the file vary by operating system.