Specifying Footnotes

To add footnotes to your output, you can use the FOOTNOTE statement.


General form, FOOTNOTE statement:
FOOTNOTEn 'footnote-text';    

where n is a number from 1 to 10 that specifies the footnote line and footnote-text is the actual footnote to be displayed.

CAUTION: Be sure to match quotes enclosing the footnote text.


The PROC PRINT step below contains two FOOTNOTE statements, specified for lines 1 and 3.
     proc print data=clinic.stress noobs;
        var resthr maxhr rechr;
        where tolerance='I';
        footnote1 'Data from Treadmill Tests';
        footnote3 '1st Quarter Admissions';
     run;

Sample Output

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, "skipped" footnote lines appear blank, as shown in the output below.

RestHR MaxHr RecHR 
 
   68       171        133
   78       177   139
   70       167   122
   65       181   141
   74       152   113
   75       158   108
   78       189   138

 

 

 

Data from Treadmill Tests

1st Quarter Admissions

    In HTML output, footnote lines appear consecutively, without extra spacing for skipped footnotes.

RestHR MaxHR RecHR
68 171 133
78 177 139
70 167 122
65 181 141
74 152 113
75 158 108
78 189 138

Data from Treadmill Tests
1st Quarter Admissions

Modifying and Canceling Footnotes
  • Redefining a footnote line cancels any higher-numbered footnote lines.

  • To cancel all previous footnotes, specify a null FOOTNOTE statement (a FOOTNOTE statement with no number or text).







Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement