Syntax, TITLE, and FOOTNOTE
statements:
TITLE<n> 'text';
FOOTNOTE<n> 'text';
The keyword TITLE is
equivalent to TITLE1. Likewise, FOOTNOTE is equivalent to FOOTNOTE1.
If you do not specify a title, the default title is The SAS System.
No footnote is printed unless you specify one.
|
title1 'Heart Rates for Patients with:'; title3 'Increased Stress Tolerance Levels'; proc print data=cert.stress; var resthr maxhr rechr; where tolerance='I'; run;
footnote1 'Data from Treadmill Tests'; footnote3 '1st Quarter Admissions'; proc print data=cert.stress; var resthr maxhr rechr; where tolerance='I'; run;
title1 'Heart Rates for Patients with';
title3 'Increased Stress Tolerance Levels';
footnote1 'Data from Treadmill Tests';
footnote3 '1st Quarter Admissions';
proc print data=cert.stress;
var resthr maxhr rechr;
where tolerance='I';
run;
proc means data=cert.stress;
where tolerance='I';
var resthr maxhr;
run;
title1 'Heart Rates for Patients with'; title3 'Participation in Exercise Therapy'; footnote1 'Data from Treadmill Tests'; footnote3 '1st Quarter Admissions'; proc print data=cert.therapy; var swim walkjogrun aerclass; run; title2 'Report for March'; proc print data=cert.therapy; run;
title1; /*#1*/ footnote1 'Data from Treadmill Tests'; /*#2*/ footnote3 '1st Quarter Admissions'; proc print data=cert.stress; var resthr maxhr rechr; where tolerance='I'; run; footnote; /*#3*/ proc means data=cert.stress; where tolerance='I'; var resthr maxhr; run;
1 | Specifying the TITLE1 statement
cancels all previous titles and cancels the default title The
SAS System . The PRINT procedure and the MEANS
procedure do not contain any titles in the output.
|
2 | Specifying the FOOTNOTE1 and FOOTNOTE3 statements before the PRINT procedure results in footnotes in the PROC PRINT output. |
3 | Specifying a null FOOTNOTE statement cancels the previously defined footnotes that are in effect. |