cobol2.hlp (Table of Contents; 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.
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.
                                    -♦-