CICS_EciTerminateExit

Function name:
CICS_EciTerminateExit

Parameters
Anchor

Purpose

To allow the user to clean up the exit environment. Any storage acquired by CICS_EciInitializeExit must be released in this exit.

CICS_EciTerminateExit is not called by the Client daemon.

When called

On termination of the process that issued the CICS_EciInitializeExit.

Parameters

Anchor
Input parameter. The pointer set up by CICS_EciInitializeExit.

Return codes

CICS_EXIT_OK
Termination continues.
CICS_EXIT_BAD_ANCHOR
CICS® detected an invalid anchor field. The ECI writes a CICS Transaction Gateway trace record, and then continues with termination.
CICS_EXIT_BAD_STORAGE
CICS detected a storage error. The ECI writes a CICS Transaction Gateway trace record, and then continues with termination.
user-defined
User-defined return codes must have a value not less than CICS_EXIT_USER_BASE. The ECI writes a CICS Transaction Gateway trace record, and then continues with termination.