Loading...
Select Version
&pagelevel(4)&pagelevel
The EXECUTION operand in the CALL-PROCEDURE and INCLUDE-PROCEDURE commands can be used to set the execution mode for the procedure.
EXECUTION = *YES is the default setting: the procedure is executed immediately after the preanalysis.
The setting EXECUTION = *NO is useful for preventing procedures which are being tested from immediately being executed in full. With this setting, the commands in the procedure head are executed first. The procedure body is then preanalyzed, i.e. it is checked to see whether the control structures are correct. However, the procedure body is not yet executed.