Chapter Contents |
Previous |
Next |
SAS Companion for the CMS Environment |
At many sites, the SAS command is simply
SAS
,
but a different command may have been defined during the SAS installation
process at your site. The command is not documented in any IBM manual.
Note: The examples in this book use
SAS
as the SAS command.
The SAS command starts a windowing environment session, an interactive line mode session, or a noninteractive session, depending on the default mode of operation that has been specified for your site. To override the default, use commands similar to those shown in Commands for Invoking SAS . (Again, the commands that you use may be site-specific.)
See Specifying System Options in the SAS Command for additional information about the SAS command.
Mode | How to Invoke | How to Terminate | Description |
---|---|---|---|
windowing environment |
sas(dms |
byecommand or endsas;statement |
enables you to write and execute SAS programs and to
view the SAS log and SAS procedure output in an interactive windowing environment.
If it is the default at your site, then you can invoke it by typing
sas with no options. For more information about the windowing environment,
see SAS Language Reference: Concepts. |
interactive line mode |
sas(nodms |
/*or endsas;statement |
prompts you to type SAS statements at your terminal, one line at a time. This mode is convenient for many applications on a line-mode terminal. For more information about interactive line mode, see SAS Language Reference: Concepts. |
noninteractive mode |
sas myprog |
n/a | executes under interactive CMS, but it is called noninteractive because the program runs with no intervention from the terminal. Noninteractive mode is useful for running programs repeatedly or for running programs that have already been debugged. |
batch | n/a | n/a | is typically used for SAS programs that take a long time to run, particularly if those programs are executed on a regular basis. |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.