TEMPLATE Procedure: Creating Table Templates

COLUMN Statement

Declares a symbol as a column in the table and specifies the order of the columns.
Restriction: The COLUMN statement can be used only within a table template.
Creating a New Table Template


COLUMN column(s);

Required Argument

is one or more columns. If the column is defined outside the current table template, reference it by its path in the template store. Columns in the template are laid out from left to right in the same order that they are specified in the COLUMN statement.
Default:If you omit a COLUMN statement, ODS makes a column for each column template (DEFINE COLUMN statement), and places the columns in the same order that the column templates have in the table template.

If you use a COLUMN statement but omit a DEFINE COLUMN statement for any of the columns, ODS uses a default column template that is based on the type of data in the column.

Interaction:If you specify the column attribute PRINT=OFF, then the value of a column is turned off if the column is part of a stacked column. If all columns in a stacked column have PRINT=OFF set, then the entire column is removed from the table.
Tip:Use a list of variable names, such as DAY1–DAY10, to specify multiple variables.