Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Building dynamic link libraries

You can build a dynamic link library (DLL) as a library of one or more frequently used functions. The DLL can provide those function as needed to calling programs.

A DLL in COBOL terms is a collection of outermost programs. Outermost programs might contain nested programs, but programs external to a DLL can call only the outermost programs (known as entry points) in that DLL. Just as you can compile and link several COBOL programs together as a single executable (.EXE), you can link one or more compiled outermost COBOL programs together to create a DLL.

Because outermost programs in the DLL are part of a library of programs, each program in a DLL (even if there is only one such program) is referred to as a subprogram.

related concepts
Static linking and dynamic linking
How the linker resolves references to DLLs

related tasks
Creating DLLs


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)