Using TITLE and FOOTNOTE Statements
You can define TITLE and FOOTNOTE statements anywhere in your SAS program. They are global and remain in effect until you cancel them or until you end your SAS session. All currently defined FOOTNOTE and TITLE statements are displayed automatically.
You can define up to ten TITLE statements and ten FOOTNOTE statements in your SAS session. A TITLE or FOOTNOTE statement without a number is equivalent to a TITLE1 or FOOTNOTE1 statement. It is not necessary to use sequential statement numbers—skipping a number in the sequence leaves a blank line.
You can use an unlimited number of text strings and options. Ensure that each option is placed before the text strings that you want it to modify.
The most recently specified TITLE or FOOTNOTE statement of any number completely replaces any other TITLE or FOOTNOTE statement of that number. In addition, it cancels all TITLE or FOOTNOTE statements of a higher number. For example, if you define TITLE1, TITLE2, and TITLE3, then submitting a new TITLE2 statement cancels TITLE3.
The most recently specified TITLE or FOOTNOTE statement of any number completely replaces any other TITLE or FOOTNOTE statement of that number. In addition, it cancels all TITLE or FOOTNOTE statements of a higher number. For example, if you define TITLE1, TITLE2, and TITLE3, resubmitting the TITLE2 statement cancels TITLE3.
title4;
But remember that this cancels all other existing statements of a higher number.
To cancel all current TITLE or FOOTNOTE statements, use the TITLE1; or FOOTNOTE1; statement:
重点看红色部分。
|