Introduction to Directing SAS Output and the SAS Log

Purpose

SAS provides several methods to direct SAS output and the SAS log to different destinations. In this section, you learn how to use the following SAS language elements:
  • PRINTTO procedure from within a program or session to route DATA step output, the SAS log, or procedure output from their default destinations to another destination
  • FILE command, in the SAS windowing environment, to store the contents of the Log and Output windows in files
  • PRINT= and LOG= system options when you invoke SAS to redefine the destination of the log and output for an entire SAS session

Prerequisites

Before proceeding with this section, you should understand the following features and concepts: ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.