Microsoft KB Archive/34916

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

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.