Enhancing Reports |
Specifying
Footnotes |
To add footnotes to your output, you can use the FOOTNOTE statement. Like TITLE statements, FOOTNOTE statements are global, and the syntax for the two statements is virtually the same. |
General form, FOOTNOTE statement:
where n is a number from 1 to 10 that specifies the footnote line, and footnote-text is the actual footnote to be displayed. The maximum footnote length depends on your operating environment and the value of the LINESIZE= option.
|
The two FOOTNOTE statements below, specified for lines 1
and 3, define footnotes for the PROC PRINT output.
footnote1 'Data from Treadmill Tests'; footnote3 '1st Quarter Admissions'; proc print data=clinic.stress; var resthr maxhr rechr; where tolerance='I'; run; Footnotes appear at the bottom of each page of procedure output. Notice that footnote lines are "pushed up" from the bottom. The FOOTNOTE statement with the largest number appears on the bottom line. In SAS listing output, footnote line 2 appears blank, as shown below. Footnotes are centered by default. |
Data from Treadmill Tests 1st Quarter Admissions |
In HTML output, footnote lines simply appear consecutively, without extra spacing to indicate skipped footnote numbers. |
Obs | RestHR | MaxHR | RecHR |
2 | 68 | 171 | 133 |
3 | 78 | 177 | 139 |
8 | 70 | 167 | 122 |
11 | 65 | 181 | 141 |
14 | 74 | 152 | 113 |
15 | 75 | 158 | 108 |
20 | 78 | 189 | 138 |
Data from Treadmill Tests |
1st Quarter Admissions |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.