*EXIT Terminate the Procedure
*EXIT This statement terminates the procedure. No further procedure statements will be processed. This statement can appear at any stage in the procedure, and ends any further processing.
Normally, a procedure is ended following the processing of the last statement. A *DIA statement does not terminate the procedure. Instead, control is passed to the user. The procedure can be continued by issuing a RET command, or by a latent ON condition being satisfied (see page 19-).
Example:
*IF &N=0 EXIT
The procedure will be terminated if the variable contains the value 0.