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



Bill, I'm at V5R1. It sorted by the raw numeric value, no consideration of century, so 97/05/31 preceded 03/01/09. I also tried it at V3R7, and it behaved the same way - no regard for century.

Regards

Vern

At 09:23 AM 1/9/2003 -0800, you wrote:
Did something change in the OS regarding the Source Date field in Source Files?

I have a utility I use occassionally use that sets the source date of a member based upon selection critera to a different value, eg: set all to 0 where the date is less than 021231. This worked fine on V4R5 where it would even catch the years 99 and earlier, but on V5R2 it doesn't recognize that the year 02 is greater than the year 99. I know that when I went from V3R2 to V4R5, the year that was used as the logical divider between 1900 and 2000 was changed, but now it looks like there isn't a logical divider.

If I override a source file to a specific member and then SQL that file, it sorts the source date just as if there isn't any "hidden" logic behind the dates. Could someone on a release prior to V5R2 verify that it sorts source dates according to the logical century?

Select * from qrpglesrc sort by srcdat desc

Bill


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.