Microsoft KB Archive/37404

From BetaArchive Wiki

FILE-CONTROL Needs “-” or Error Messages Will Appear

PSS ID Number: Q37404 Article last modified on 04-20-1993

3.00 | 3.00 MS-DOS | OS/2

The information in this article applies to:
- Microsoft COBOL for MS-DOS and OS/2, version 3.0

Summary: Page 1-4 of the “Microsoft COBOL Pocket Guide” incorrectly lists FILE CONTROL as the name of an Environment Division paragraph. The correct syntax is FILE-CONTROL. Using the wrong syntax (leaving out the hyphen) causes the compiler to generate a sequence of error messages, starting with “Section Missing or Misspelled.” The “Microsoft COBOL Compiler Version 3.0: Language Reference Manual” gives the proper syntax on Page A-18.

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.