#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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks