Local section symbol declaration.
LOCALsymbol[,symbol,...,symbol]
The LOCAL directive is used to specify that the list of symbols is defined within the current section, and that those definitions are explicitly local to that section. It is useful in cases where a symbol is used as a forward reference in a nested section where the enclosing section contains a like-named symbol. This directive is only valid if used within a program block bounded by the SECTION and ENDSEC directives. The LOCAL directive must appear before symbol is defined in the section. If the symbols that appear in the operand field are not defined in the section, an error is generated.
A label is not allowed with this directive.
SECTION IO
LOCAL LOOPA ; local to this section
.
.
ENDSEC