COLUMNS

Function

Defines logical columns to use for PRINT commands.

Syntax

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

Arguments

int_lit|_var|_col

Left margin position of each column.

Description

COLUMNS defines the left-most position of one or more columns in the page layout. It sets the first column as current.

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

COLUMNS only applies to the current report. To print columns in multiple reports, specify COLUMNS for each report.

USE-COLUMN 0 turns off columns.

See Also

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