It is possible to call a DLL from a COBOL program that is compiled with the NODLL option, but there are restrictions.
You can use the following methods to ensure that the DLL linkage is followed:
The COBOL DLL programs in the load module that contains the main program can call COBOL DLL programs in other DLLs.
Example: calling DLLs from non-DLLs
related tasks
Using procedure and function pointers