The CANCEL SCOPE command cancels the current scope search list
established by a previous SET SCOPE command and restores the
default scope search list, namely 0,1,2, . . . ,n, where n is the
number of calls in the call stack.
The default scope search list specifies that, for a symbol
without a path-name prefix, a symbol lookup such as EXAMINE X
first looks for X in the routine that is currently executing
(scope 0); if no X is visible there, the debugger looks in the
caller of that routine (scope 1), and so on down the call stack;
if X is not found in scope n, the debugger searches the rest of
the run-time symbol table (RST), then searches the global symbol
table (GST), if necessary.
Related commands:
(SET,SHOW) SCOPE