You can call functions written in C/C++ from COBOL programs and can call COBOL programs from C/C++ functions.
In an interlanguage application, you can combine 64-bit COBOL programs with 64-bit C/C++ functions, or 32-bit COBOL programs with 32-bit C/C++ functions.
The rules and guidelines referenced below provide further information about how to perform these interlanguage calls.
Unqualified references to "C/C++" in the referenced sections are to IBM XL C/C++.
related tasks
Calling between COBOL and C/C++ under CICS
Initializing environments
Passing data between COBOL and C/C++
Collapsing stack frames and terminating run units or processes
Sharing data
XL C/C++ for AIX Optimization and Programming Guide
related references
ADDR
COBOL and C/C++ data types