This option applies
only when you are using batch mode. It is not necessary to precede
the filename with the SYSIN option if the filename immediately follows
the keyword
SAS
. For example, the
following two SAS commands are equivalent:
sas saspgms/report1.sas
sas -sysin saspgms/report1.sas
The syntax of the SYSIN
system option also enables you to specify NOSYSIN. If you specify
NOSYSIN, SAS is invoked, the autoexec file is processed, and then
SAS terminates, returning you to the command prompt. The following
example shows the syntax:
sas -nosysin -autoexec mysas.sas
This
option is useful if you want to test an autoexec file without actually
running a complete SAS session.