| SAS Companion for the CMS Environment |
For
each SAS job or session, the SAS System automatically creates two types of
output:
-
SAS log file
-
contains information about the processing
of SAS statements. As each program step executes, notes are written to the
SAS log along with any applicable error or warning messages. For more information,
see SAS Log File
.
-
SAS procedure output file
-
is also called the print file.
Whenever a SAS program executes a PROC step that produces printed output,
SAS sends the output to the procedure output file. For more information, see SAS Procedure Output File
.
Default Routings of the SAS Log and Procedure Output Files
shows the default routings of the
SAS log and procedure output files.
By default, if a user is
typing input to SAS, the log
file and output file are sent to a window or terminal. If a source file provides
input to SAS, as is usually the case during noninteractive mode or in batch
mode, the log file and output file are written to a disk or directory.
Typically, when SAS is running in noninteractive mode
or in batch mode, the SAS log and procedure output are written to the same
minidisk or directory where the source file was found--provided that there
is both read and write access to the disk or directory. If there is only
read access to the disk or directory, the SAS log and the procedure output
are saved to the first accessed read/write disk or directory. The SAS log
has a filetype of SASLOG, and the SAS procedure output file has a filetype
of LISTING. The filename for each of these is the same as the filename of
the source file.
This section explains how to change the
routing of the SAS log and procedure output. Use Decision Table: Changing the Default Destination to help you decide which method you should
choose to change the routing.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.