BOUNDS—Control the Edit Boundaries

The BOUNDS primary command sets the left and right boundaries and saves them in the edit profile.

Syntax

Read syntax diagramSkip visual syntax diagramBOUNDSBOUNDBNDSBNDBOUleft_col*right_col*
left_col
The left boundary column to be set.
right_col
The right boundary column to be set.
*
The current value of the boundary.

To reset the boundaries to the default columns:

  1. On the command line, type:
    BOUNDS
  2. Press Enter. The boundaries are reset to the default columns.

See Edit boundaries for more information, including tables that show commands affected by bounds settings and default bounds settings for various types of data sets.

The column numbers are always data column numbers (see Referring to column positions). Thus, for a variable format data set with number mode on, data column 1 is column 9 in the record.

You cannot specify the same column for both boundaries.

Description

The BOUNDS primary command provides an alternative to setting the boundaries with the BOUNDS line command or macro command; the effect on the member or data set is the same. However, if you use both the BOUNDS primary command and the BOUNDS line command in the same interaction, the line command overrides the primary command.

Examples

To set the left boundary to 1 and the right boundary to 72, type:
BOUNDS 1 72
To set the left boundary to 10 and leave the right as is, type:
BOUNDS 10 *