The DOCUMENT Procedure

OBFOOTN Statement

Creates or modifies lines of text at the bottom of the page on which the output object is displayed.
Restriction: You can print up to ten lines of text.
Tip: The OBFOOTN statement is similar to the global FOOTNOTE statement.
Managing Entries

Syntax

OBFOOTN <n> output-object <SHOW><'text'>;

Required Argument

output-object
specifies the ODS output object.

Optional Arguments

n
specifies the relative line that contains the footnote.
Range:1–10
Tips:The OBFOOTN line with the highest number appears on the bottom line. If you omit n, then SAS assumes a value of 1. Therefore, specify OBFOOTN or OBFOOTN1 for the first text line.

You can create footnotes that contain blank lines between them. For example, if you specify a text string with an OBFOOTN statement that is followed by an OBFOOTN3 statement, then a blank line separates the two lines of text.

SHOW
specifies that a table containing the output object’s footnotes will be written to active destinations.
'text'
specifies the text string that becomes the footnote.
You can customize footnotes by inserting BY variable values (#BYVALn), BY variable names (#BYVARn), or BY lines (#BYLINE) into footnotes that are specified in PROC DOCUMENT steps. After you specify the text, embed the items at the position where you want them to appear. For more information, see Customizing Labels, Titles, and Footnotes with BY Variables .
Length:The maximum text length is 32000 characters.
Requirement:All text strings must be enclosed in quotation marks.
CAUTION:
If you use the OBFOOTN statement without a text string, then all existing footnotes for the specified output object are deleted.