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


Specifying linker options

You can specify linker options in lowercase, uppercase, or mixed case, and in short or long form. You can also substitute a dash (-) for the slash (/) before an option.

For example, /DE, /DEB, or /DEBU are equivalent to /DEBUG, and -DEBUG is equivalent to /DEBUG. The summary of linker options referenced below shows the shortest acceptable form for each option.

Separate options with a space or tab character. For example:

cob2 /de -DBGPACK -Map /NOI prog.obj

Some linker options and module statements take numeric arguments. Using standard C-language syntax, you can specify numbers in any of the following forms:

Decimal
Any number not prefixed with 0 or 0x. For example, 1234 is a decimal number.
Octal
Any number prefixed with 0 (but not 0x). For example, 01234 is an octal number.
Hexadecimal
Any number prefixed with 0x. For example, 0x1234 is a hexadecimal number.

related tasks
Linking programs

related references
Linker options


Terms of use | Feedback

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