Resolving Runtime Errors
Even if the compilation step is successful, you may encounter errors that occur during the execution of a process. For example, you may have a calculation that includes a division step. If the divisor has a value of 0, the result is undefined and a processing error occurs. When a runtime error occurs, system processing terminates and an error message displays. There is also an error message indicating the reason for termination. Resolving the problem may require you to modify one or more statements in an ILF routine. If this is the case, you need to exit from the error screen display, invoke the editor, make the required changes, and re-execute the process to determine if the problem is corrected. It may be that the problem resulted from some condition in the system environment other than the ILF routine itself. If so, you need to resolve this condition and then re-execute the process to verify that the problem is corrected.