cobext.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COBOL Object Type
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Use the Obj Type option to specify the level of code optimization
     produced in the .OBJ file.
 
     Option                    Action
 
     Intermediate Code         Intermediate code produced by the first
                               pass of the compiler. This is generally
                               smaller than native code, but slower for
                               processor-bound operations.
 
                               CodeView cannot debug COBOL intermediate
                               code.
 
                               This type of .OBJ file cannot be linked
                               with the static-linked run-time library
                               LCOBOL.
 
                               Command-line directive: OPT"0"
 
     Native Code               Standard native code.
 
                               Animator cannot debug native code.
 
                               Command-line directive: OPT"1"
 
     Optimized Native Code     Optimized native code. Some of the
                               optimizations may have unexpected side
                               effects on some programs.
 
                               For example, no code is generated for
                               PERFORM n TIMES of an empty paragraph.
                               If such a construct was used to form a
                               delay loop, it now executes in zero
                               time. In this case, select the Native
                               Code option.
 
                               Animator cannot debug optimized native
                               code.
 
                               Command-line directive: OPT"2"
                                    -♦-
                                    -♦-