Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-209
Usage Consideration
string
is a string of characters enclosed in quotes. To include a quote in the string, use a
pair of quotes.
CASE
directs Inspect to distinguish between uppercase and lowercase letters as it
searches. If you omit CASE, Inspect does not differentiate uppercase from
lowercase.
position / position
specifies the range of lines to search. The first position denotes the start of the
range, and the second position denotes the end of the range. You can specify a
position by line number, statement number, or by the letters F or L. The letter F
specifies the first line in the file; L specifies the last line in the file.
If the ending position precedes the starting position, Inspect searches backwards
through the range.
If you do not specify a range, Inspect uses the current value of the SOURCE
RANGE environment parameter. You can use the SET command to change this
parameter.
file-locator
directs Inspect to read from a file other than the one containing the source text for
the current scope path. An OSS pathname is valid as a file-locator if the current
systype is OSS.
WRAP
directs Inspect to display the full length of each source line, wrapping it onto the
next line if necessary.
Usage Consideration
To find the next occurrence of a string, press the return key as illustrated.
-OBJECT-SOURCE SEARCH 'owner_id'
#20 int owner_id = 0;
-OBJECT-
#29 owner_id = (int) val3 >> 16;
-OBJECT-
#30 val2 = proc2(val1, owner_id);