Introduction to Writing Lines to the SAS Log or to an Output File
Purpose
In previous sections you learned how to store data values
in a SAS data set and to use SAS procedures to produce a report that
is based on these data values. In this section, you will learn how
to do the following:
-
design output by positioning data values and character strings in an output file
-
prevent SAS from creating a data set by using the DATA _NULL_ statement
-
produce reports by using the DATA step instead of using a procedure
-
direct data to an output file by using a FILE statement
Prerequisites
Before proceeding with
this section, you should be familiar with the concepts presented in
the following sections:
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.