TEMPLATE Procedure: Creating Table Templates

TEXT Statement

Specifies the text of a header, footer, or the label of a variable in an output data set.
Restriction: The TEXT statement can be used only within a header or footer template.
See: Creating a New Table Template

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.
Default:If you omit a TEXT statement, the text of the header is the label of the object that the header applies to.
Tip:If the quoted string is a blank and it is the only item in the header or footer specification, the header or footers a blank line.