Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-197
SOURCE
ICODE [ AT code-location ]
specifies instruction-code presentation of the source text corresponding to the
code location given in the AT clause.
LINE #line-number
specifies the source text corresponding to the given line number. Inspect uses
the current scope path to qualify this line number unless you specify file-
locator.
[ STATEMENT ] statement-number
specifies the source text corresponding to the given statement number. Inspect
uses the current scope path to qualify this statement number unless you
specify file-locator.
limit-spec
specifies the amount of source text to display.
You cannot specify a limit specifier when using SOURCE SEARCH.
FOR count [ STATEMENT[S] | LINE[S] ]
specifies the amount of source text to display. The count parameter specifies
the number of units (statements or lines) to display. Inspect selects the default
unit based on the current setting of the LOCATION FORMAT environment
parameter. If the setting specifies STATEMENTS, Inspect uses STATEMENTS
as the default unit; otherwise, it uses LINES.
BACK count [ STATEMENT[S] | LINE[S] ]
specifies the amount of source text preceding source-locator to display. The
count parameter specifies the number of units (statements or lines) to display.
If you omit the unit, Inspect selects a default based on the current setting of the
LOCATION FORMAT environment parameter. If the setting specifies
STATEMENTS, Inspect uses STATEMENTS as the default unit; otherwise, it
uses LINES.
You cannot specify the BACK clause when using SOURCE ICODE.
/ position
specifies one endpoint of a range whose other endpoint is source-locator.
Inspect displays the source text in this range. You can specify the endpoint by
line number, statement number, or by the letters F or L. F specifies the first line
in the file; L specifies the last line in the file.
You cannot specify this clause with the FOR or BACK clauses.
When you use this clause in a SOURCE ICODE command, you cannot use the
letters F or L to specify the endpoint of the range.