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.
COPYEXT Details (↑ Compiler Control)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Up to four extensions can be specified, each extension being up to
     10 characters long. An extension of null is used to represent an
     extension of spaces.
 
     If you have many COPY statements that do not specify an extension,
     using COPYEXT can improve the compilation speed of your program.
 
     For example, if all of your COPY-files have the extension .CPY,
     specifying COPYEXT "CPY,CBL" would avoid unnecessary file access
     attempts.
 
     The behavior of this directive is affected by the setting of the
     OSEXT directive. The extension specified by the OSEXT directive
     overrides the first extension specified by the COPYEXT directive.
     For example:
 
       COPYEXT "CPY,CBL,TXT"  OSEXT "SRC"
 
     would have the same effect as:
 
       COPYEXT "SRC,CBL,TXT"
 
     See also OSEXT
                                    -♦-