Setting bounds
In CHAR, HEX and LHEX display formats, you can limit the columns that are searched by the CHANGE, EXCLUDE and FIND commands by setting left and right bounds. There are two methods of setting these bounds.
Method 1:
- On the Command line, enter
(see BOUNDS primary command for information about the parameters of the BOUNDS command).BOUNDS col1 col2
Method 2:
- In the prefix area of any record, enter
BND
.A new row is inserted into the display, showing a left angle bracket (<) and, if previously set, a right angle bracket (>).
File Manager Edit USERID.FMDATA(DATA1) Col 1 Insert length 7996 Format CHAR ----+----1----+----2----+----3----+----4----+----5----+----6----+----7- 000025 02Tyrone Dallas Developer 92 Smith Street Belmont BND < > 000026 02Rod Turnbull Manager 184 Alexander Dve Swan View
If no bounds have previously been set, the left bracket appears in the first column of your records. If bounds have already been set, the left and right brackets appear in their pre-set columns.
- Change the bracket positions to suit your needs, by overtyping existing brackets and typing in a left and, optionally, a right bracket.
- Press Enter or use a function key to scroll through your data. The bounds are updated.
Regardless of which method you used to set the bounds, you can
reset the bounds to their default by entering the BOUNDS command without
any parameters (equivalent to BOUNDS 1 max_record_length
).
To remove a bounds line from the display, enter D
in
the prefix area of the line. To remove all bounds lines from the display,
enter RESET in the Command line.