RDB/VMS SQL WHENEVER — VMS RDB_4.1A
WHENEVER --+-> NOT FOUND --+----+
+-> SQLERROR ---+ |
+-> SQLWARNING -+ |
|
+------------------------------+
|
+-+-> CONTINUE ---------------------------------+-> ;
+-> GOTO --+-+-+-------+-> host-label-name ---+
+-> GO TO -+ | +-> : --+ |
+-----------> 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.