Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
BOUNDS—Set or Query the Edit Boundaries z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The BOUNDS macro command sets the left and right boundaries and saves them in the edit profile. The BOUNDS assignment statement sets or retrieves the left and right boundaries and places the values in variables. SyntaxMacro command syntax >>-ISREDIT--+-BOUNDS-+--+-----------------------------+-------->< +-BOUND--+ '-+-left_col-+--+-right_col-+-' +-BNDS---+ '-*--------' '-*---------' +-BND----+ '-BOU----'
Assignment statement syntax >>-ISREDIT--(var1,var2)-- = --BOUNDS--------------------------->< >>-ISREDIT--BOUNDS-- = --+-----------------------------+------->< '-+-left_col-+--+-right_col-+-' '-*--------' '-*---------'
DescriptionThe BOUNDS macro command provides an alternative to setting the boundaries with the BOUNDS line command or primary command; the effect on the member or data set is the same. 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. 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. Return codes
ExamplesTo set the boundaries to their
default values, type:
To
set one boundary while leaving the other value unchanged, type an
asterisk (*) for the boundary to be unchanged. For example, to set
the left boundary from the variable &LEFT, and leave the right
boundary unchanged, type:
To
set the left boundary to 1, leaving the right boundary unchanged:
To save the value
of the left boundary in the variable &LEFT:
To
save the value of the right boundary in the variable &RIGHT:
To
evaluate numbers for bounds when NUMBER COBOL is on, or NUMBER is
on for a variable blocked data set:
|
Copyright IBM Corporation 1990, 2014
|