Chapter Contents

Previous

Next
SAS Companion for the CMS Environment

Routing the SAS Log and Output to the Same Destination

At some point, you may need to route the log and output to the same location in order to interleave the log and the procedure output. To do this, specify the same destination for the SAS system options LOG= and PRINT= or for ALTLOG= and ALTPRINT=. For example, the following command sends both the log and the procedure output to the file TESTOUT LISTING A.

sas testfile (log='testout listing a'
              print='testout listing a'

The log for each step is followed by any output for that step.


Chapter Contents

Previous

Next

Top of Page

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