RDB/VMS SQL WHENEVER — VMS RDB_4.2
WHENEVER ──┬─>
N
O
T
F
O
U
N
D ──┬────┐ ├─>
S
Q
L
E
R
R
O
R ───┤ │ └─>
S
Q
L
W
A
R
N
I
N
G ─┘ │ │ ┌──────────────────────────────┘ │ └─┬─>
C
O
N
T
I
N
U
E ─────────────────────────────────┬─> typebox (;) ├─>
G
O
T
O ──┬─┬─┬───────┬─> host-label-name ───┤ └─>
G
O
T
O ─┘ │ └─> typebox (:) ──┘ │ └───────────> host-label-number ─┘
Additional information available:
More Information
You can issue the WHENEVER statement only in precompiled programs. The WHENEVER statement specifies the execution path a host program will take when any embedded SQL statement results in one of these following exception conditions: o Row not found o An error condition o A warning condition For the condition, WHENEVER either specifies that the program continue execution or branch to another part of the program.