Chapter 10: SAS Output


Definitions for SAS Output

SAS output is the result of executing SAS programs. Most SAS procedures and some DATA step applications produce output.

There are three types of SAS output:

SAS log contains a description of the SAS session and lists the lines of source code that were executed. Depending on the setting of SAS system options, the method of running SAS, and the program statements that you specify, the log can include the following types of information:

  • program statements

  • names of data sets created by the program

  • notes, warnings, or error messages encountered during program execution

  • the number of variables and observations each data set contains

  • processing time required for each step.

You can write specific information to the SAS log (such as variable values or text strings) by using the SAS statements that are described in "Writing to the Log" on page 165.

The log is also used by some of the SAS procedures that perform utility functions, for example the DATASETS and OPTIONS procedures. See Base SAS Procedures Guide for more information.

Because the SAS log provides a journal of program processing, it is an essential debugging tool. However, certain system options must be in effect to make the log effective for debugging your SAS programs. "Customizing the Log" on page 165 describes several SAS system options that you can use.

program results contain the results of most SAS procedures and some DATA step applications. Results can be routed to a file, and printed as a listing. If you use the Output Delivery System (ODS), you can produce results for a high resolution printer or create HTML output for use with a web browser. You can customize your output by modifying or creating your own table definitions, which are descriptions of how you want to format your output. For more information about the flexibility of ODS, see The Complete Guide to the SAS Output Delivery System .

SAS console log When the SAS log is not active, it contains information, warning, and error messages. When the SAS log is active, the SAS console log is used only for fatal system initialization errors or late termination messages.

Operating Environment Information: See the SAS documentation for your operating environment for specific information on the destination of the SAS console log.




SAS 9.1.3 Language Reference. Concepts
SAS 9.1.3 Language Reference: Concepts, Third Edition, Volumes 1 and 2
ISBN: 1590478401
EAN: 2147483647
Year: 2004
Pages: 258

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net