BOUNDS primary command

The BOUNDS primary command limits the columns searched by the CHANGE, FIND, and EXCLUDE commands. This command is only available in CHAR, HEX or LHEX display formats. It is not available at all when using a segmented record template.

Syntax


1 BOUNds
1 BNDs
2?  col1
2?  col2
col1
The first column to be included in the range of columns to be searched. Must be greater than or equal to 1, and less than or equal to the maximum record length.
col2
The last column to be included in the range of columns to be searched. If specified, it must be greater than or equal col1 and less than or equal to the maximum record length. When specified, all columns in the range defined by col1 to col2 are searched, inclusively. If not specified, it is assumed to be equal to col1, giving a range of one column to be searched.
Note: If neither col1 nor col2 are specified, the range is assumed to be from Column 1 to the end of the record. That is, issuing the BOUNDS command with no parameters resets the boundaries to the full record length.

If this command is used in the Find/Change utility and the JCL source format option has been selected, the columns searched are set to 3 through 71, unless the statement is not a JCL statement. A statement is considered to be a JCL statement if it begins with the strings "/*" or "//". If the statement does not begin with either of these strings, it is not considered to be a JCL statement in which case any column range specified is honored.

Availability

Related tasks and examples