To add titles to your output, you can use the TITLE statement. |
General form, TITLE statement:
TITLEn 'title-text'; where n is a number from 1 to 10 that specifies the title line and title-text is the actual title to be displayed.
|
The PROC PRINT step below contains two TITLE statements,
specified for lines 1 and 3.
proc print data=clinic.stress noobs; var resthr maxhr rechr; where tolerance='I'; title1 'Data from Treadmill Tests'; title3 '1st Quarter Admissions'; run; |
Sample Output
Titles appear at the top of each page of procedure output. The TITLE statement with the largest number appears on the last title line.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In SAS listing output, "skipped" title lines appear
blank, as shown in the output below.
|
In HTML output, title lines appear consecutively, without
extra spacing for skipped titles.
|
Modifying and Canceling Titles
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.