Menu

#85 WHENVER verb in working storage

open
nobody
None
5
2010-07-26
2010-07-26
Anonymous
No

Oracle SQL allows for the WHENEVER verb to be used in either working storage or the procedure division. RES has allowed for it to be in the procedure division, but not in the working storage secion.

++++++ This code goes into the working storage area ++++++++++++

EXEC SQL SYSGEN
WHENEVER SQLERROR DO PERFORM 9000-SQL-ERROR-ROUTINE SYSGEN
END-EXEC. SYSGEN

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.