CICS_EpiInitialize

CICS_EpiInitialize

Version

Purpose

The CICS_EpiInitialize function initializes the EPI. All other EPI calls from this application are invalid before this call is made.

Parameters

Version
The version of the EPI for which this application is coded. This makes it possible for old applications to remain compatible with future versions of the EPI. The version described here is CICS_EPI_VERSION_200. See EPI versions, in CICS Transaction Gateway: Programming Guide, for more information.

The EPI uses this parameter only for input.

Return codes

CICS_EPI_ERR_FAILED
The function failed for an unexpected reason.
CICS_EPI_ERR_IS_INIT
The EPI is already initialized.
CICS_EPI_ERR_VERSION
The EPI cannot support the version requested.
CICS_EPI_NORMAL
The function completed successfully.