You can specify one of the following linkage types:
Linkage Type | Description |
---|---|
C | C linkage (C++ only) |
C++ | C++ linkage (C++ only, the default for C++) |
COBOL | Previously used for linkage to COBOL routines. Maintained for compatibility with COBOL/370 and VS COBOL II. With newer COBOL products, use the REFERENCE, OS, or C linkage type instead. |
FORTRAN | FORTRAN linkage |
OS | Operating System linkage |
OS_DOWNSTACK | XPLINK-enabled operating system linkage |
OS_NOSTACK | Minimal operating system linkage (for use with XPLINK) |
OS_UPSTACK | Complete operating system linkage (for use with XPLINK) |
OS31_NOSTACK | Same as OS_NOSTACK |
PLI | Maintained for compatibility with PL/I products prior to the Enterprise PL/I for z/OS® product. With newer PL/I products use the C linkage type instead. |
REFERENCE | A Language Environment® reference linkage that has the same syntax and semantics with and without XPLINK. Unlike OS linkage, REFERENCE linkage is not affected by the OSCALL suboption of XPLINK. It is equivalent to OS_DOWNSTACK in XPLINK mode and OS_UPSTACK in non-XPLINK mode. |