This exit enables the user to view the results of synchronous
ECI calls, and is used for information gathering purposes.
Function name:
CICS_EciExternalCallExit2
|
Parameters:
Anchor
Token
ParmPtr
|
Purpose
When called
This exit is called once on
every application program link or status information call. It is not
called on reply solicitation calls. The exit is 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 setup 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.