Overview (TITLE command)

TITLE inserts a title on the top line of each page of output. The default title indicates the version of the system being used.

Basic Specification

The only specification is the title.

Syntax Rules

  • The title can include any characters. To specify a blank title, enclose a blank in quotes (" ").
  • The title can be up to 256 bytes long. Titles longer than 256 bytes are truncated.
  • The quotes enclosing the title are optional; using them allows you to include apostrophes or quotation marks in the title. See the topic String Values in Command Specifications for more information.
  • More than one TITLE command is allowed in a single session.
  • A title cannot be placed between a procedure command and BEGIN DATA—END DATA or within data records when the data are inline.

Operations

  • The title is displayed as part of the output heading, which also includes the date and page number. If HEADER=NO is specified on SET, the heading, including the title and subtitle, will not be displayed.
  • Each TITLE command overrides the previous one and takes effect on the next output page.
  • Only the title portion of the heading changes. The date and page number are still displayed.
  • TITLE is independent of SUBTITLE, and each can be changed separately.