FOOTNOTE Statement


Writes up to 10 lines of text at the bottom of the procedure or DATA step output

Valid: anywhere

Category: Output Control

Requirement: You must specify the FOOTNOTE option if you use a FILE statement.

See: FOOTNOTE Statement in the documentation for your operating environment.

Syntax

FOOTNOTE < n >< text text >;

Without Arguments

Using FOOTNOTE without arguments cancels all existing footnotes.

Arguments

n

  • specifies the relative line to be occupied by the footnote.

  • Tip: For footnotes, lines are pushed up from the bottom. The FOOTNOTE statement with the highest number appears on the bottom line.

  • Range: n can range from 1 to 10.

  • Default: If you omit n , SAS assumes a value of 1.

text text

  • specifies the text of the footnote in single or double quotation marks.

  • Tip: For compatibility with previous releases, SAS accepts some text without quotation marks. When you write new programs or update existing programs, always enclose text within quotation marks.

Details

A FOOTNOTE statement takes effect when the step or RUN group with which it is associated executes. After you specify a footnote for a line, SAS repeats the same footnote on all pages until you cancel or redefine the footnote for that line. When a FOOTNOTE statement is specified for a given line, it cancels the previous FOOTNOTE statement for that line and for all footnote lines with higher numbers .

Operating Environment Information: The maximum footnote length that is allowed depends on the operating environment and the value of the LINESIZE= system option. Refer to the SAS documentation for your operating environment for more information.

Comparisons

You can also create footnotes with the FOOTNOTES window. For more information, refer to the online help for the window.

You can modify footnotes with the Output Delivery System. See Example 3 on page 1410.

Examples

These examples of a FOOTNOTE statement result in the same footnote:

  • footnote8 "Managers Meeting";

  • footnote8 Managers Meeting ;

See Also

Statement:

  • TITLE Statement on page 1407

The TEMPLATE Procedure in SAS Output Delivery System: User s Guide




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net