TEMPLATE Procedure: Creating Table Templates

TEXT2 Statement

Provides an alternative header or footer to use in the LISTING output if the header or footer that is provided by the TEXT statement is too long.
Restriction: The TEXT2 statement can be used only within a header or footer template.
See: TEXT Statement

Syntax

Required Argument

header/footer-specification(s)
specifies the text of the header or footer. Each header/footer-specification is one of the following:
_LABEL_
uses the label of the object that the header applies to as the text of the header. For example, if the header or footer is for a column, _LABEL_ specifies the label for the variable that is associated with the column. If the header or footer is for a table, _LABEL_ specifies the label for the data set that is associated with the table.
text-specification(s)
specifies the text to use in the header or footer. Each text-specification is one of the following:
  • a quoted string
  • a variable, followed by an optional format. The variable is any variable that is declared in a DYNAMIC, MVAR, or NMVAR statement.
    Note: If the first character in a quoted string is neither a blank character nor an alphanumeric character, and SPLIT is not in effect, the TEXT statement treats that character as the split character. See the discussion of the SPLIT= option in the DEFINE HEADER Statement.