Previous Page | Next Page

The DOCUMENT Procedure

OBTITLE Statement


Creates or modifies title lines for the output.
Tip: The OBTITLE is similar to the global TITLE statement.
Featured in: Managing Entries

OBTITLE<n> output-object <'text'>;


Required Arguments

output-object

specifies the name of the output object.


Options

n

specifies the relative line that contains the title.

Range: 1-10
Tip: The OBTITLE line with the highest number appears on the bottom line. If you omit n, then SAS assumes a value of 1. Therefore, specify OBTITLE or OBTITLE1 for the first text line.
Tip: You can create titles that contain blank lines between them. For example, if you specify a text string with an OBTITLE statement that is followed by an OBTITLE3 statement, then a blank line separates the two lines of text.
'text'

specifies the text string.

You can customize titles by inserting BY variable values (#BYVALn), BY variable names (#BYVARn), or BY lines (#BYLINE) into output titles 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.

Requirement: All text strings must be enclosed in quotation marks.
Caution: If no text is specified, then the OBTITLE statement deletes all existing titles for the specified output object only.

Previous Page | Next Page | Top of Page