Chapter Contents

Previous

Next
FOOTNOTE

FOOTNOTE



Prints up to ten 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.


Syntax
Without Arguments
Arguments
Details
Comparisons
Examples
See Also

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 surround text with quotation marks.


Details

A FOOTNOTE statement takes effect when the step or RUN group with which it is associated executes. Once 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 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.  [cautionend]


Comparisons

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


Examples

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


See Also
Statement:

TITLE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.