| 
 | 
Charles L. Massoglia wrote:
> You have a 6 digit packed MMDDYY date in positions 1-4 of a file.  How do
> you sort the date in YYMMDD order using FMTDTA or #GSORT?
Let's see...how about:
      FND   3   3                the '9' of 97
      FNP   4   4                the '7' of 97
      FNC   1   3                the 012029
>
>
> For extra credit, how to you select a range of dates in MMDDYY format, e.g.
> 120297 to 011598>
     I D    3   3GEC9
     IAP   4   4GEC7
     IAC   1   3GEC012029
     IAD   3   3LEC9
     IAP    4   4LEC8
     IAC   1   3GEC001159
If I'm right does it mean I won't be getting that lump of coal in my stocking
AGAIN this year?
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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.