Specifying the boundaries of a search in the Source window
You can specify that z/OS® Debugger search
through a limited number of columns in the Source window, which can
be useful when you are searching through a very large source file
and some text is organized in specific columns. You can specify the
boundaries to use for the current search or for all searches. The
column alignment of the source might not match the original source
code. The column specifications for the FIND
command
are related to the scale shown in the Source window, not the original
source code.
FIND
command
and specify the search string and the boundaries. For example, to
search for "ABC" in columns 7 through 12, enter the following
command: FIND "ABC" 7 12;
FIND "VAR1" 8 *;
FIND "VAR1" 1;
SET FIND BOUNDS
command, specifying the
left and right boundaries. After you enter the SET
FIND BOUNDS
command, every time you enter the FIND
command
without specifying boundaries, z/OS Debugger searches
for the string you specified only within those boundaries. For
example, to specify that you want z/OS Debugger to always
search for text within columns 7 through 52, enter the following command: SET FIND BOUNDS 7 52;
Afterward,
every time you enter the FIND
command without specifying
boundaries, z/OS Debugger searches
only within columns 7 through 52. To reset the boundaries to
the default setting, which is 1 through *, enter the following command: SET FIND BOUNDS;
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- Example: Searching for COBOL paragraph names
- FIND command in IBM® z/OS Debugger Reference and Messages
- SET FIND BOUNDS command in IBM z/OS Debugger Reference and Messages
- QUERY command in IBM z/OS Debugger Reference and Messages