The procedure body follows directly after the procedure head. It consists of a series of commands, statements and data that is executed when the procedure is run. Execution of the procedure can be controlled by control structures and branch commands.
The control structures include single command blocks, loops and branches. Branches include also the error handling blocks.
Each control structure is opened by an introductory command and closed by a termination command.
Control structures can also be nested.
Branch commands enable the sequential processing of commands to be interrupted by a jump to a defined point in the procedure.
The following sections describe first the construction and usage of control structures, and then the use of branch commands.