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


Creating module definition files

A module definition file contains one or more module statements. Use these statements to define attributes of your executable output file and of code and data segments in the file, and to identify data and functions that are imported into or exported from the file.

If you provide a .LIB file but not a module definition file, cob2 creates the .DEF file. Otherwise, to link a DLL, you must provide to cob2 a .DEF file. cob2 will then generate an .IMP file and an .EXP file.

You can use module definition files when:

When you create a module definition file:

related references
Reserved words for module statements
Summary of module statements


Terms of use | Feedback

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