Previous Page | Next Page

The DOCUMENT Procedure

OBSTITLE Statement


C
Featured in: Managing Entries

OBSTITLE<n> output-object <'text'> </ JUST= LEFT | CENTER | RIGHT>;


Required Arguments

output-object

specifies the ODS output object.


Options

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
Tip: 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.
Tip: 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.
'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.

Requirement: All text strings must be enclosed in quotation marks.
Caution: If no arguments are specified, then the OBSTITLE statement deletes all existing subtitles for the specified output object only.

Previous Page | Next Page | Top of Page