cobol2.hlp (Table of Contents; Topic list)
ANIM Details (↑ Compiling for Debugging)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This directive causes an OPT "0" object code file (containing
     intermediate code) to be created and automatically linked with
     COBLIB.LIB and either COBAPI.LIB or OS2.LIB depending on the
     operating system you are compiling on. If you specify your own
     libraries with a LINKLIB directive, they are used instead.
 
     On OS/2, a .DLL file is created using the .DEF file with
     root-name the same as the source-file-name. In this case, the
     DEFFILE directive is enabled causing the compiler to create a
     suitable .DEF file. If you need to use your own .DEF file, you
     must specify NODEFFILE.
 
     A file with extension .IDY, is also created. This contains the
     additional information needed to animate the program.
 
     Specifying OPT "0" causes the automatic link step to be omitted.
     Any other OPT directives are ignored.
                                    -♦-