Output IMPORT statements

The DD SYSDEFSD defines the output sequential data set where the binder writes out IMPORT control statements. The binder writes one control statement for each exported external symbol (function or variable), if you specify the option DYNAM(DLL). The data set must have the attributes RECFM=F or RECFM=FB, and LRECL=80.

You can mark symbols for export by using the #pragma export directive or the EXPORTALL compiler option, or the C++ _Export keyword.