Try OpenEdge Now
skip to main content
ABL Essentials
Managing Transactions : Using the UNDO statement : QUIT condition

QUIT condition

ABL also supports a QUIT statement to terminate the application altogether. The AVM raises the QUIT condition only when it encounters a QUIT statement. The default handling of the QUIT condition differs from STOP in these ways:
*The AVM commits, rather than undoes, the current transaction.
*Even if the user specifies the –p startup option to define the main procedure in your application, it returns to the operating system rather than trying to rerun the startup procedure. In other words, the AVM quits the session unconditionally.