The DOCUMENT Procedure

OBSTITLE Statement

Create or modify subtitles.
Managing Entries

Syntax

Required Argument

output-object
specifies the ODS output object.

Optional Arguments

JUST= LEFT | CENTER | RIGHT
specifies the alignment of the text string.
LEFT
aligns the text string with the left margin.
CENTER
aligns the text string in the center between the left and right margins.
RIGHT
aligns the text string with the right margin.
n
specifies the relative line that contains the subtitle.
Range:1–10
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.

SHOW
specifies that a table containing the output object’s subtitles will be written to active destinations.
'text'
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.