COLUMNS

Syntax

COLUMNS {int_lit|_var|_col}[int_lit|_var|_col]...

Description

Defines logical columns to be used for PRINT commands.

COLUMNS defines the leftmost position of one or more columns within the current page layout. It sets the first column as current.

You can use COLUMNS for printing data either down the page or across the page, depending on how you use the NEXT-COLUMN and USE-COLUMN commands.

The COLUMNS command applies only to the current report. If you want to print columns in more than one report, you must specify the COLUMNS command for each report.

The USE-COLUMN 0 deselects columns. See USE-COLUMN.

Parameters

Parameter Description

int_lit|_var|_col

Specifies the left margin position of each column.

See NEXT-COLUMN, NEXT-LISTING, NEW-PAGE, USE-COLUMN, USE-REPORT