The RANGE command establishes a default range specification. The default range specification is used when processing a REFERENCE, MERGE, COINCIDENCE, or DECLARATIONS command that does not include its own range specification.
If no RANGE command has been entered, the default reference range is the entire program.
Syntax
── RANGE ─┬───────────────────────┬────────────────────────────────────┤ └─<range specification>─┘
Explanation
RANGE
Displays the current default reference range.
RANGE <range specification>
Establishes the range specification as the default range. If the range specification is a procedure and is enclosed in parentheses, it does not list lines of nested procedures. If the range specification is not enclosed in parentheses, it does not list lines in nested procedures.
Example
The following command establishes the procedure TWO and all procedures nested within it as the default range specifications:
RANGE TWO NEW DEFAULT RANGE ESTABLISHED: TWO