Planning the exception handling capability of your application means making
the following decisions:
Decide if you will use the RPG-specific means of handling errors (e.g.,
error indicator, 'E' extender, or error subroutine) or whether you will write
a separate exception handling routine which you will register using the ILE API
CEEHDLR. You might also choose to use both.
Decide on the recovery action, that is, where the program will resume
processing if you use a separate exception handling routine.
In addition, keep in mind the following when planning your exception handlers: