Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/34916

From BetaArchive Wiki

CURDATE Compiler Directive Incorrect in COBOL 3.0 README.DOC

PSS ID Number: Q34916 Article last modified on 04-21-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: The format for the CURDATE compiler directive described in the COBOL Version 3.0 README.DOC file is incorrect. The following are the correct formats: CURRENT-DATE “DDMMYY” CURRENT-DATE “YYMMDD” or CURRENT-DATE “YYMMDD” (the default)

More Information: The following corrected information about CURRENT-DATE should replace the corresponding information in the COBOL Version 3.0 README.DOC file: CURRENT-DATE (new) The CURRENT-DATE directive allows you to specify at compile time the format of the date stored in CURRENT-DATE, as in the following example: CURRENT-DATE {“DDMMYY”} {“YYMMDD”} Specifying the DDMMYY format causes CURRENT-DATE to be stored in European format, as in the following example. Note that the argument may be specified in either uppercase or lowercase characters. Default: CURRENT-DATE “YYMMDD”

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.