Types of calls permitted

Table 1 describes the types of calls between C and PL/I that Language Environment allows:

Table 1. Calls permitted for C and PL/I
ILC direction Static calls Dynamic calls using DLLs Fetch/Call Comments
C to PL/I Yes Yes (1) Yes  
PL/I to C Yes Yes (1) Yes C must be non-reentrant or naturally reentrant.
Note: Enterprise PL/I for z/OS® supports calls to a C DLL, and also allows calls from C to a PL/I DLL. In this case, the C code could also optionally be compiled with the XPLINK option.