STOP
Stops execution of the template.Typically, a specific condition is tested and the template is stopped if this condition has a value for which further processing is meaningless.The following example checks whether the specifiedsystem_name
is valid. If not (if an error has been detected), a message is issued to the dialog area and the template is stopped.md := stm_r_md (system_name, status);
IF (status <> stm_success) THEN
WRITE (dialog_area, ’Execution Stopped due
to error’);
STOP;
END IF;
●
●