CICS_EciExternalCallExit2

Function name:
CICS_EciExternalCallExit2

Parameters:
Anchor
Token
ParmPtr

Purpose

To allow the user to see the results of synchronous ECI calls for information gathering purposes only. This exit is called exactly once on every application program link or status information call. It is not called on reply solicitation calls.

When called

Before the ECI call returns to the application, and after the return data is filled into the ECI parameter block.

Parameters

Anchor
Input parameter. The pointer set up by CICS_EciInitializeExit.
Token
Input parameter. The identification token established by the ECI for this request.
ParmPtr
Input parameter. A pointer to the ECI parameter block. The exit must treat all fields in the ECI parameter block as inputs.

Return codes

CICS_EXIT_OK
The ECI returns control to the application that issued the CICS_ExternalCall request.
CICS_EXIT_BAD_ANCHOR
CICS® detected an invalid anchor field. The ECI writes a CICS Transaction Gateway trace record, and then returns control to the application that issued the CICS_ExternalCall request.
CICS_EXIT_BAD_PARM
CICS detected an invalid parameter. The ECI writes a CICS Transaction Gateway trace record, and then returns control to the application that issued the CICS_ExternalCall request.
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 returns control to the application that issued the CICS_ExternalCall request.