Use the ProcBlock command within a procedure to identify one or more following lines, up to the next ProcEndBlock command (related by nesting level) as a complete logic unit.
ProcBlock may also be entered as Block.
Optional Operands
LABEL specifies a label for the block.
The ProcBlock command is used in conjuntion with the ProcLoop and ProcLeave commands.
Return Codes
OK Successful.
Examples
The following example shows the ProcBlock command used within a procedure to process a set of statements 10 times:
------------------------------------------------------------------------
...
SET CT,0
BLOCK
ADD CT,1
IF CT,GT,10
LEAVE
.... Statements
LOOP
ENDBLOCK
...
------------------------------------------------------------------------