|
A short while ago, there was a thread that briefly discussed the date window used by IBM for the *MDY format. It was generally acknowledged that this was a fixed window ranging from 01/01/40 to 12/31/39, and that this window would not be changed to represent the year 2040 and beyond. This theory is supported by the behaviour of the date support routines in RPG. If you attempt to move a date such as 01/01/2040 into a *MDY formatted date variable, the program will encounter a date overflow condition. This causes me to wonder, how many of us are out there creating a new date problem in our applications? For example, have you created any printer files or display files with a *MDY output field? If so, did you realize that these are likely to fail on Jan 1st, 2040. What if you're one of those who took the time to make sure all your output dates match the job format, and the job format is set to *MDY? Does this mean that you can no longer use *MDY as the job date format after Dec 31, 2039? And what about the operating system itself? If your QDATFMT system value is set to MDY, does that mean that IBM's own screens will fail as well? Is there anyone out there (preferably from IBM) who can shed some light on this? John Taylor +--- | 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.