CEEWUCHA
is a sample user condition handler that you can use to alter the default behavior
of Language Environment to
get behavior that is similar to VS COBOL II.
CEEWUCHA contains code to do the following:
- Provide compatibility with existing VS COBOL II applications
running under CICS by allowing EXEC CICS HANDLE ABEND LABEL statements to
get control when a runtime detected error occurs (such as IGZ0061S, division
by zero).
- Convert all unhandled runtime detected errors to the corresponding user
1xxx abend issued by VS COBOL II.
- Suppress all IGZ0014W messages, which are generated when IGZETUN or IGZEOPT
is link-edited with a VS COBOL II application.
To use CEEWUCHA:
- Use the CEEWWCHA sample SMP job to assemble and link-edit CEEWUCHA.
- On CICS, define CEEWUCHA in the PPT for your CICS region.
- Specify USRHDLR(CEEWUCHA) in either:
- On CICS, CEECOPT (to apply to the entire CICS region)
- On non-CICS, CEEDOPT (to apply to all applications)
- On CICS or non-CICS, CEEUOPT and link-edit it with the individual applications