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


LIBRARY

Use the LIBRARY statement to identify the output file as a DLL, and to optionally define the name, library module initialization, and library module termination.

LIBRARY statement syntax
Read syntax diagramSkip visual syntax diagram>>-LIBRARY--libname--------------------------------------------><
 

You can also identify the output file as a DLL by using the /DLL option.

If you use the LIBRARY statement in your .DEF file, it must be the first statement, and you cannot use the NAME statement.

If you specify both the BASE parameter in the LIBRARY statement and the BASE statement, the BASE statement takes precedence.

The following example assigns the name calendar to the DLL:

LIBRARY calendar

Terms of use | Feedback

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