Refer to the sample programs for more information about compiling and linking programs; see Sample programs.
Your C++ program source needs #include statements to include either cicseci.hpp, for the ECI classes, or cicsepi.hpp, for the EPI classes. These files are in the <install_path>\include subdirectory on Windows® or the <install_path>⁄ include subdirectory on UNIX® and Linux®.
Operating system | Macro |
---|---|
AIX® | CICS_AIX |
HP-UX | CICS_HPUX |
Linux | CICS_LNX |
Solaris | CICS_SOL |
aCC -AP -DCICS_HPUX file.cpp
On Windows operating systems, the CICS Transaction Gateway API
DLL is built using the synchronous model of C++ exception handling which assumes
that external C functions do not throw exceptions. This support is true for
both Microsoft Visual C++ .NET 2003 and Microsoft Visual C++ 2005 compilers.