This illustration shows the following syntax on a horizontal line:
EXEC SQL WHENEVER NOT FOUND CONTINUE
SQLERROR
(on a loop)
SQLWARNING
(on a loop)
GOTO
label (on a loop)
STOP
(on a loop)
DO
routine (on a loop)