[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Re: [open-cobol-list] redefines problem
From: |
William M. Klein |
Subject: |
RE: Re: [open-cobol-list] redefines problem |
Date: |
Mon Mar 1 15:44:04 2004 |
both the YYYYMMDD and YYYYDDD "keywords" were added in the 2002 Standard
(for the ACCEPT statment) - many (most?) vendors added this feature (as an
extension to the '85 Standard) to deal with the Y2K problem. I know it is
accepted by both MF and IBM - I am not certain how many others already
support it. It *must* be supported in a 2002 conforming compiler.
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of David Korn
> Sent: Monday, March 01, 2004 3:05 PM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: Re: [open-cobol-list] redefines problem
>
>
> Yes, that fixes the size of `WS-FUPPENVI-DEV' larger than size
> of `WS-FUPPENVI-PRO'roblem.
>
> Another MVS peculiarity that I have come across is
>
> ACCEPT FROM DATE YYYYMMDD
>
> I suspect that YYYYMMDD was added to handle four digit years.
> The compiler give parse error, unexpected WORD.
>
>
> Finally, I am getting a warning message with the line
> MOVE FUNCTION CURRENT-DATE TO WS-BILL-DT-HDFTR
> that says warning: `FUNCTION' not implemented
> WS-BILL-DT-HDFTR is defined as.
> 03 WS-BILL-DT-HDFTR PIC X(08) VALUE SPACES.
>
> I am not sure what this is supposed to do, I assume that it
> moves a reference to the CURRENT-DATE function into WS-BILL-DT-HDFTR
> but I am not sure.
>
> David Korn
> address@hidden
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>