PL/I programs and error handling
ON-units are a standard method of error-handling in PL/I programs. If the execution-time option STAE is specified, CICS® program control services set up an exit routine that activates the PL/I ON-units.
This exit routine can handle:
- All PL/I errors
- CICS abends that occur in the PL/I program and in associated CICS services
- Program checks
Note that, under CICS , PL/I execution-time options can be specified only by the PLIXOPT character string.
For details of PL/I coding restrictions in a CICS environment, see the appropriate PL/I programmer’s guide for your compiler.