Previous Topic: Source CodeNext Topic: Arguments


Purpose

Runtime errors are handled by the Dialog Manager.

Runtime errors are either fatal or non-fatal errors. When a non-fatal error occurs, such as invalid user input, the Dialog Manager displays an error message on the transaction screen. You can correct the error and continue processing the transaction.

When a fatal error occurs, transaction processing is terminated. The Dialog Manager executes a fail routine that backs out changes by performing the necessary rollbacks of the databases. The fail routine then calls a termination exit that determines what diagnostic (error) information is displayed and where it is displayed.