System Options under UNIX |
Default: | none |
Valid in: | configuration file, SAS invocation, SASV9_OPTIONS environment variable |
Category: | Environment control: Files |
PROC OPTIONS GROUP= | ENVFILES |
UNIX specifics: | all |
Syntax | |
Details | |
See Also |
Syntax |
-SYSIN filename | -NOSYSIN |
specifies an external file. The value for filename must be a valid UNIX filename.
invokes SAS, processes the autoexec file, and then terminates SAS, returning you to the command prompt.
Details |
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.
See Also |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.