Specifying Results Formats

Next, let's consider the appearance and format of your SAS output.

HTML and Listing Formats

In SAS 9.3 and later versions, when running SAS in windowing mode in the Windows and UNIX operating environments, HTML output is created by default. In other platforms, you can create HTML output using programming statements. When running SAS in batch mode, the default format is LISTING.
Let's look at these two result formats. The following PROC PRINT output is a listing of part of the SAS data set Clinic.Therapy:
LISTING Output
LISTING Output
This is HTML output from the same program:
HTML Output
If you aren't running SAS in a desktop ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition 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.