Progress
Embedded SQL-92
Guide and Reference


Using the WHENEVER Statement for Error Handling

The WHENEVER statement is a declarative statement that defines the actions to take when there is an error. The WHENEVER statement is easy to use, flexible, and reduces the code size of the application program.

This is the syntax for a WHENEVER statement:

SYNTAX
WHENEVER specific_exception specific_action ; 

The following sections contain more information about the WHENEVER statement.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095