Handling errors

Errors associated with parse exit routine execution can occur before the routine is called, during the routine’s processing, and after the routine returns to AMD2. This section describes the types of errors and their consequences, so that you can provide appropriate error handling code in your routine.


Before the routine is called

The parse exit routine is not invoked if an error occurs in AMD2 processing before the parse exit call. Error 33233 is sent to the client if this occurs.


During parse exit routine processing

Errors that occur during the processing of your routine produce the following results:


After returning to AMD2

Errors that result from exit routine processing can occur after the routine returns to AMD2.