EPI program failing with return codes 9 and 18.
EPI TEREC_LINK RC 9 CICS_EPI_ERR_SYSTEM and
CICS_EPI_GETEVENT RC 18 CICS_EPI_ERR_MORE_DATA
Resolving the problem
Upon examining CICS client trace for the EPI program and a corresponding
CICS server trace it was found the TerEC_Link call returned 0xfff7 (9).
Earlier, we saw that CICS_EpiGetEvent returned 0xffed (18). In the cics_epi.h file we find this actually translates to CICS_EPI_ERR_MORE_DATA .
The customer said they were passing a transaction name.
The first program name in this transaction definition was not DFHMIRS. Any time a transaction name is passed in an EPI program, the Transaction is basically being used to replace CPMI. DFHMIRS must be the first program name of that TRANSACTION DEFINITION. The customer changed the Transaction definition to point to DFHMIRS and this fixed the problem.
More support for:
CICS Transaction Gateway
Software version: 7.0, 7.1, 7.2, 8.0, 8.1, 9.0, 9.1
Operating system(s): AIX, HP-UX, Linux, Solaris, Windows
Reference #: 1045520
Modified date: 03 October 2013