CICS_EpiInitializeExit

Function name:
CICS_EpiInitializeExit

Parameters:
Version
Anchor

Purpose

To allow the user to set up an exit environment.

When called

On each invocation of CICS_EpiInitialize, after the EPI has validated the parameters.

Parameters

Version
Input parameter. The version of the EPI under which the exit is running.
Anchor
Output parameter. A pointer to a pointer that will be passed to the EPI exits. The second pointer is not used by the EPI; it is passed to the exits as supplied. You can acquire storage in this exit and pass its address to the other exits.

Return codes

CICS_EXIT_OK
The EPI continues processing this request, calling the exits where appropriate.
CICS_EXIT_NO_EXIT
The EPI continues processing this request, but does not call any more exits.
CICS_EXIT_CANT_INIT_EXITS
The EPI writes a CICS® Transaction Gateway trace record, and then continues processing this request, but does not call any more exits.
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 processing this request, but does not call any more exits.