The SEARCH command displays the lines of source code that contain
an occurrence of a specified string.
If you specify a module name with the SEARCH command, that module
must be set. To determine whether a particular module is set,
use the SHOW MODULE command, then use the SET MODULE command, if
necessary.
Qualifiers for the SEARCH command determine whether the debugger:
(1) searches for all occurrences (/ALL) of the string or only
the next occurrence (/NEXT); and (2) displays any occurrence
of the string (/STRING) or only those occurrences in which the
string is not bounded on either side by a character that can be
part of an identifier in the current language (/IDENTIFIER).
If you plan to enter several SEARCH commands with the same
qualifier, you can first use the SET SEARCH command to establish
a new default qualifier (for example, SET SEARCH ALL makes the
SEARCH command behave like SEARCH/ALL). Then you do not have to
use that qualifier with the SEARCH command. You can override the
current default qualifiers for the duration of a single SEARCH
command by specifying other qualifiers.
Related commands:
(SET,SHOW) LANGUAGE
(SET,SHOW) MODULE
(SET,SHOW) SCOPE
(SET,SHOW) SEARCH