Making Output Informative

Adding Titles

At the top of each page of output, SAS automatically writes the following title:
The SAS System
You can make output more informative by using the TITLE statement to specify your own title. A TITLE statement writes the title that you specify at the top of every page. The form of the TITLE statement is:
TITLE<n> <'text'>;
where n specifies the relative line that contains the title, and text specifies the text of the title. The value of n can be 1 to 10. If you omit n, SAS assumes a value of 1. Therefore, you can specify TITLE or TITLE1 for the first title line. By default, SAS centers a title.
To add the title 'SAT Scores by Year, 1972-1998' to your output, use the following TITLE statement:
title ...

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.