This exit enables the user to clean up the
EPI exit termination environment. Any storage acquired by CICS_EpiInitializeExit must
be released in this exit.
Function name:
CICS_EpiTerminateExit
|
Parameters:
Anchor
|
Purpose
When called
On each invocation of CICS_EpiTerminate,
after the EPI has validated the parameters.
Parameters
- Anchor
- Input parameter. The pointer set up by CICS_EpiInitializeExit.
Return codes
- CICS_EXIT_OK
- Termination
continues.
- CICS_EXIT_BAD_ANCHOR
- CICS® detected
an invalid anchor field. The EPI writes a CICS Transaction Gateway trace
record, and then continues with termination.
- CICS_EXIT_BAD_STORAGE
- CICS detected
a storage error. The EPI 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 EPI writes a CICS Transaction Gateway trace
record, and then continues with termination.