× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If I recall correctly, Database support for Date, Time, and Timestamp came out in V2R1.1. And, while Barbara would be the final authority, I believe RPG support for these datatypes was in the initial ILE release.

Bruce Vining

qsrvbas@xxxxxxxxxxxx wrote:
rob wrote:

I went to a panel on Y2K preparation presented by one company that went
through it and how they changed all their dates to numeric packed CYMD.
They looked exhausted. So, I asked them "Are you going to go through this
again when the users all want the dates in a format that they can query?"

Heh. Probably not a popular question with them.

Waaay back, I wrote a Roman-numeral calculator in Fortran as an
exercise in college. Just because it can be done is not a good
enough reason to do it in production code.

You're definitely on target that a true date field is the way to go.
It's not like they haven't been around for a while. Oldest RPG
manual I have nowadays is V4R3 February 1998 and four-digit years
are shown without change-marks. (External and internal
representations differ, of course.) Similarly, my V4R2 DDS manual
has the Date data type without change-marks; the dates are not
clearly marked -- V4R2 was obviously earlier.

So even if someone was using obsolete manuals for whatever reason,
there's a good chance that the info is available.

Tom Liotta


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.