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


/LINENUMBERS, /NOLINENUMBERS

Use /LINENUMBERS to include source-file line numbers and associated addresses in the map file. For this option to take effect, there must already be line-number information in the object files that you are linking.

/LINENUMBERS option syntax
Read syntax diagramSkip visual syntax diagram   .-/NOLINENUMBERS-.  
>>-+----------------+------------------------------------------><
   '-/LINENUMBERS---'  
 

Default is: /NOLINENUMBERS

Abbreviations are: /L|/NOLI

When you compile, use the cob2 option -qNUMBER to include line numbers in the object file (or the cob2 option -g to include all debugging information).

If you provide the linker an object file that does not have line-number information, the /LINENUMBERS option has no effect.

The /LINENUMBERS option forces the linker to create a map file even if you specify /NOMAP.

By default, the map file is given the same name as the output file, with the extension .map. You can override the default name by specifying a map-file name.


Terms of use | Feedback

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