All programs that use the external CICS® interface to pass DPL requests to a CICS server region must include the CICS-supplied program stub, DFHXCSTB.
The stub intercepts all external CICS interface commands, whether they are EXCI CALL interface commands, or EXEC CICS LINK commands, and ensures they are passed to the appropriate external CICS interface routine for processing.
DFHXCSTB is a common stub, designed for inclusion in programs written in all the supported languages. It is supplied in the CICSTS31.CICS.SDFHEXCI library.
To help you ensure that the stub is included, CICS provides a number of procedures, one for each language, which you can use for translating, compiling, and link-editing.
You must specify AMODE(31) for your EXCI client program.
The CICS-supplied procedures for compiling and link-editing client programs include the following parameters on the PARM statement of the linkage editor job step:
LNKPARM='AMODE(31),LIST,XREF'