Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Date data-type?
Hi,

I know some of the posters here take a keen interest in the
proposed standards for Cobol.

Do you know if a date data-type has (ever) been proposed; if
yes, what cogent reasons led to its exclusion?

If it's not presently proposed, how exposed does that leave
Cobol, when it's proposed as a viable commercial language?

Ok, the question might not be perfect; make of it what you
think is better .... and answer that!   :-)

Regards

Michael

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Russell
08-08-06 11:55 PM


Re: Date data-type?
All previous discussion of a specific "date" data-type have been rejected.
HOWEVER, the draft '08 Standard does have functions to "format" dates (based
 on
locale).  Is this what you looking for?

--
Bill Klein
wmklein <at> ix.netcom.com
"Michael Russell" <Michael.Russell@msn.com> wrote in message
news:N7SdnZu-0s7sR0XZnZ2dnUVZ8qCdnZ2d@pipex.net...
> Hi,
>
> I know some of the posters here take a keen interest in the proposed stand
ards
> for Cobol.
>
> Do you know if a date data-type has (ever) been proposed; if yes, what cog
ent
> reasons led to its exclusion?
>
> If it's not presently proposed, how exposed does that leave Cobol, when it
's
> proposed as a viable commercial language?
>
> Ok, the question might not be perfect; make of it what you think is better
> .... and answer that!   :-)
>
> Regards
>
> Michael



Report this thread to moderator Post Follow-up to this message
Old Post
William M. Klein
08-08-06 11:55 PM


Re: Date data-type?
No, William, not really.

I'd expect to see the ability to define a field as a date,
perform date arithmetic; have an "if date" test (like "if
numeric"), too, besides the functions you mention.

I'd also expect this to extend to date-time, with similar
functionality for this.

Heavens, how long have spread-sheets been offering
'date'-types, let alone databases ...

What's the point of Cobol just seemingly ignoring
this obvious possible improvement.

It just acts as a credibility deficit, imo.

Not vitally important, in operational terms, maybe,
but missing a trick here, proponents of Cobol.
(there are some, perhaps?)  :-)

Michael

William M. Klein wrote:
> All previous discussion of a specific "date" data-type have been rejected.
> HOWEVER, the draft '08 Standard does have functions to "format" dates (bas
ed on
> locale).  Is this what you looking for?
>

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Russell
08-09-06 11:55 PM


Re: Date data-type?
That's a big reason library based languages have pretty much taken
over.    When someone wants to have a date data type with a library
language, he either downloads it or adds it.   No Codysyl needed.

Report this thread to moderator Post Follow-up to this message
Old Post
Howard Brazee
08-09-06 11:55 PM


Re: Date data-type?
FYI,
IBM (possibly others) included this as an EXTENSION in their compiler before
Y2K.  This included a lot of "100-year window" option stuff.

Users did NOT find it worth using and although it is still in their compiler
, I
know of almost no users of it.

Most "existing" COBOL shops have routines to do this and very few "new" COBO
L
sites discover a need to "invent" them (is my perception).

--
Bill Klein
wmklein <at> ix.netcom.com
"Michael Russell" <Michael.Russell@msn.com> wrote in message
 news:I76dnd9L95DEuUfZnZ2dnUVZ8sydnZ2d@pi
pex.net...
> No, William, not really.
>
> I'd expect to see the ability to define a field as a date, perform date
> arithmetic; have an "if date" test (like "if numeric"), too, besides the
> functions you mention.
>
> I'd also expect this to extend to date-time, with similar
> functionality for this.
>
> Heavens, how long have spread-sheets been offering 'date'-types, let alone
> databases ...
>
> What's the point of Cobol just seemingly ignoring
> this obvious possible improvement.
>
> It just acts as a credibility deficit, imo.
>
> Not vitally important, in operational terms, maybe,
> but missing a trick here, proponents of Cobol.
> (there are some, perhaps?)  :-)
>
> Michael
>
> William M. Klein wrote: 



Report this thread to moderator Post Follow-up to this message
Old Post
William M. Klein
08-09-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:59 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.