The DOCUMENT Procedure

OBSTITLE Statement

Create or modify subtitles.
Managing Entries


Required Argument

specifies the ODS output object.

Optional Arguments

specifies the alignment of the text string.
aligns the text string with the left margin.
aligns the text string in the center between the left and right margins.
aligns the text string with the right margin.
specifies the relative line that contains the subtitle.
Tips:The OBSTITLE line with the highest number appears on the bottom line. If you omit n, then SAS assumes a value of 1. Therefore, you can specify OBSTITLE or OBSTITLE1 for the first text line.

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

specifies that a table containing the output object’s subtitles will be written to active destinations.
specifies the text string.
You can customize subtitles by inserting BY variable values (#BYVALn), BY variable names (#BYVARn), or BY lines (#BYLINE) into subtitles that are specified in PROC DOCUMENT steps. After you specify 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.
Tip:If no arguments are specified, then the OBSTITLE statement deletes all existing subtitles for the specified output object only.