ILE COBOL Programmer's Guide


Using Error Handling Bindable Application Programming Interfaces (APIs)

There are two level at which errors can be handled in ILE COBOL. First, the condition handlers registered at each priority level have a chance to handle the condition. If the condition remains unhandled when the control boundary is reached, a function check condition is sent. Each ILE COBOL ILE procedure has an ILE condition handler registered at priority level 205 to handle a function check. This function check condition handler will issue a COBOL inquiry message, unless handled by the following bindable APIs:

These APIs only affect exception handling within ILE COBOL programs. For detailed information on all of these APIs, refer to the section about COBOL APIs in the CL and APIs section of the Programming category in the iSeries Information Center at this Web site -http://www.ibm.com/eserver/iseries/infocenter.

Note:
The *NOMONOPRC value must be specified on the OPTION parameter of the CRTCBLMOD or CRTBNDCBL commands in order to use these APIs.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]