[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cobol

Title:VAX/DEC COBOL
Notice:Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK
Moderator:PACKED::BRAFFITT
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3250
Total number of notes:13077

3191.0. "Cobol level 1 compliance ?" by SIOG::HANLEY () Thu Jan 30 1997 09:52

Cross posted in YEAR2000 and Y2K Notes Files

Can anybody tell me the position regarding COBOL's compliance for year 2000.

I have been told that version 2.4 of DEC COBOL and version 5.4 of VAX
COBOL are Level 1 compliant.

However, I believe that the COBOL statement :

	ACCEPT X-DATE FROM DATE.

will populate a 2 character year field in variable X-DATE.

The workaround is to use System services calls, SYS$GETTIM,
SYS$ASCTIM etc.

My issue is : Surely the ACCEPT statement (and therefore COBOL) does 
not meet Level 1 compliance. Am I correct ?

Many thanks,
    Patrick.
    
                                                                       
T.RTitleUserPersonal
Name
DateLines
3191.1SMURF::NETHCraig NethThu Jan 30 1997 10:593
    You are not correct.   Although the ACCEPT statement is not
    compliant, the language provides other facilities that are compliant.
    See note 3160 for details.