O'Reilly logo

Step-by-Step Programming with Base SAS 9.4 by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required