Microsoft KB Archive/34916

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:21, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q34916 to Microsoft KB Archive/34916 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.