|
Huh? Documented limitation? The date windowing limitations apply only to *MDY, *DMY, *YMD, and *JUL. If you define the date as *ISO, *USA, *EUR, or *JIS you can specify any date from 0001 AD to 9999 AD. Timestamp formats are always allowed full date range. Kris, make sure to define your date field as *ISO. Then you can move the Timestamp field and all will be well...... eric.delong@pmsi-services.com ______________________________ Reply Separator _________________________________ Subject: Re: Use of Timestamp data field How? Is IBM Y2k Compliant 19 Author: <MIDRANGE-L@midrange.com > at INET_WACO Date: 1/15/99 6:18 AM 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 +--- +--- | 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 mailing list archive is Copyright 1997-2025 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.