ILE C/C++ Programmer's Guide

Using a Linkage Specification to Call an ILE Procedure

C++ provides a linkage specification to enable procedure calls and the sharing of data between the C++ caller and the called procedure. See Using a Linkage Specification in a C++ Dynamic Program Call for the syntax.

The valid string literals for the linkage specification to call ILE procedures are:

Linkage Specification
Type of Procedure Called

 "C++" 
ILE C++ procedure (default)

 "C" 
ILE C procedure

 "C nowiden" 
ILE C procedure without widened parameters

 "RPG" 
ILE RPG procedure

 "COBOL" 
ILE COBOL procedure

 "CL" 
ILE CL procedure

 "ILE" 
General ILE function call

 "ILE nowiden" 
ILE function call without widened parameters

 "VREF" 
ILE function call with pointers in temporary storage. (Behaves the same as a regular call although parameters are passed to the function as if they were by reference.)

 "VREF nowiden" 
Same as "VREF" without widened parameters


[ Top of Page | Previous Page | Next Page | Table of Contents ]