10.14.4 Call a Procedure (DO)


DO procname ;

Procname must be the name of a PROCEDURE defined somewhere in the report program.


Procedure calls are used to execute a statement that has been set apart and given a special name (see the PROCEDURE description). Upon completion of the called statement, control returns to the statement following the DO statement.

Recursive and nested calls are allowed.


DO headings;

DO a_detail;