After the compiler has created object modules from your source files, use the linker to link them with the COBOL for Windows runtime libraries to create an .EXE file or a .DLL file.
You can use linker options or statements in the module definition file (.DEF) to specify the kind of output that you want:
You can set linker options in any of the following ways:
Options that you specify on the command line override the options in the ILINK environment variable. Storing frequently used options in the ILINK environment variable saves time if you use the same command-line options whenever you link. You cannot specify file-names in the environment variable, however.
You have a choice of ways to start the linker:
related tasks
Setting environment variables
Specifying linker options
Linking through the compiler
Linking from the command line
Creating module definition files
related references
Linker environment variables
Linker input and output files
Linker search rules
Linker options