TEMPLATE Procedure: Creating Table Templates

DEFINE Statement

Creates a template inside a table template.
Restriction: The DEFINE statement can be used only inside a table template.
See: DEFINE COLUMN Statement

DEFINE FOOTER Statement

DEFINE HEADER Statement

Syntax

DEFINE template-type template-name</ option(s)>;
statements-and-attributes;
END;

Required Arguments

template-type
specifies the type of template to create, where template-type is one of the following:
  • COLUMN
  • FOOTER
  • HEADER
The template-type determines what other statements and what attributes can go in the template. For details, see the documentation for the corresponding DEFINE statement.
template-name
specifies the name of the new object.
Restriction:template-name must be a single-level name.
Tip:To reference the template that you are creating from another template, create it outside the table template.

Optional Argument

NOLIST
preserves the template-type when inheriting it from another table template.
Tip:If you specify an existing template-name without using the NOLIST option, then the template is overwritten.