The DOCUMENT Procedure

OBTITLE Statement

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


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

Required Argument

specifies the name of the output object.

Optional Arguments

specifies the relative line that contains the title.
Tips: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.

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.

specifies that a table containing the output object’s titles will be written to active destinations.
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 .
Length:The maximum text length is 32000 characters.
Requirement:All text strings must be enclosed in quotation marks.
If no text is specified, then the OBTITLE statement deletes all existing titles for the specified output object only.