To create an abnormal termination exit:
- Create an assembler language routine that conforms to the syntax
described in z/OS Language Environment Programming Guide or
z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode.
AMODE 64 abnormal termination exit routines should specify the "FETCHABLE=RENT"
option on the CELQPRLG MACRO. See CEEWQATX in CEE.SCEESAMP for an
example to use with AMODE 64 applications.
- Assemble and link-edit your exit into a library that Language Environment can access
at runtime, such as SCEERUN or SCEERUN2.
- Code a CEEEXTAN CSECT that contains a CEEXART macro identifying
your exit. The macro specifies your routine as an abnormal termination
exit routine. The CEEEXTAN CSECT can be found in source file CEECXTAN
(for CICS®), CEEEXTAN (for non-CICS),
or CELQXTAN (for AMODE 64). See CEEEXTAN abnormal termination exit CSECT for
more information.
- Replace the existing CEEEXTAN CSECT with the updated CEEEXTAN
as described in the following sections.