CICS_EciInitializeExit

Function name:
CICS_EciInitializeExit

Parameters
Version
Anchor

Purpose

To allow the user to set up an exit environment.

When called

On the first invocation of CICS_ExternalCall, for each process, after parameter validation has occurred.

Parameters

Version
Input parameter. The version of the ECI under which the exit is running.
Anchor
Output parameter. A pointer to a pointer that will be passed to the ECI exits. The second pointer is not used by the ECI; 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 ECI continues processing this request, calling the exits where appropriate.
CICS_EXIT_NO_EXIT
The ECI continues processing this request, but does not call any more exits.
CICS_EXIT_CANT_INIT_EXITS
The ECI 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 ECI writes a CICS Transaction Gateway trace record, and then continues processing this request, but does not call any more exits.