× 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.


  • Subject: Re: Use of Timestamp data field How? Is IBM Y2k Compliant 1940 Onwards?
  • From: "Dennis Lovelady" <dennis@xxxxxxxxxxxx>
  • Date: Fri, 15 Jan 1999 06:18:52 -0500

Hi, Kris:

> Thought I'd be Y2k Compliant and created timestamp field in data file.
>Since I added the field and did a CHGPF based on source did not loose any
>data. However the field was initialized to 0001-01-01-000 etc.

Yes.  INLVAL() could (should?) have been used to initialize this.

> First problem, could not figure out how to define the stamp to be
>displayed. So defined a date type field and Time type filed.

This would be correct.

>Did a MOVE of Timestamp to date type field.
>
> Program fell over.... Date has to be within 1940 to 2039 range. Error
>message was pretty explicit about this..  What goes... Yes timestamp
>will when program is live be in the correct
>range, but it does raise questions about the Move operation?

What questions does it raise, Kris?  This is a documented limitation for a
date field.

Dennis
--
Dennis Lovelady                    Simpsonville, SC
mail: dennis@lovelady.com
URL:  http://lovelady.piedmont.net
ICQ:  5734860
--
"Too bad all the people who know how to run the country are busy driving
taxis and cutting hair."
        - George Burns


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.