Try OpenEdge Now
skip to main content
Error Handling
STOP and QUIT Condition Handling : STOP condition handling
 

STOP condition handling

The STOP condition occurs when a STOP statement is executed or when a block statement contains the STOP-AFTER phrase and the time-limit is exceeded. The AVM also automatically raises the STOP condition when an unrecoverable system error occurs; for example, when a database connection is lost or a RUN statement cannot find a procedure file.
A user can raise the STOP condition by pressing the key mapped to the STOP key while input is enabled (or anytime in a character interface). This STOP key is usually mapped as follows:
*CTRLBREAK (Windows)
*CTRLC (UNIX)
* Default handling
* Raising the STOP condition
* Overriding default handling
* Raising a timed STOP condition