Chapter Contents

Previous

Next
SAS Companion for the CMS Environment

Routing Output to the Terminal

When you are running SAS in interactive line mode, both the SAS log and procedure output files are directed to the terminal by default. When you are running SAS in noninteractive mode, you might want to direct the output files to your terminal instead of to the disk files, or in addition to the disk files.

The following SAS command begins a noninteractive session and redirects the log and procedure output to the terminal:

sas tastest(log=terminal print=terminal

To direct the log and procedure output to their normal destinations (in this case, the disk files TASTEST SASLOG* and TASTEST LISTING* and the terminal), use the ALTLOG= and ALTPRINT= system options. Like the LOG= and PRINT= system options, these system options must be specified either in a configuration file or in the SAS command.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.