SCOPE

Returns information about a statement scope block.

Read syntax diagramSkip visual syntax diagramEXTractSCOpeaddress
address
An IDF address expression. Defines the statement scope block. If omitted, uses the current execution location as determined from the PSW.

The name of the stemmed variable array defaults to LSM. and may be set by the LANGUAGE STEM command (see LANGUAGE STEM).

The EXLIMIT command (see EXLIMIT) is used to control the maximum stemmed array index value.

REXX variables set

stemname.0
Number of items in the stemmed array
stemname.1
Scope block start statement number
stemname.2
Scope block end statement number
stemname.3
Scope block owner symbol name (if any)