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



I had to get help from my dad for this one. He had a copy of an 
article from the DataNetwork (?) magazine that answers this situation. 
:-)

FND     3       3
FNZ     4       4
FNC     1       3

The date is stored like this:

0 M D Y
M D Y F

The FND gets the Y in the third position. The FNZ will get the Y in 
the fourth position. Then the FNC will get the month, day and the 
first digit of the year (which won't have any effect on the sort).

The article answers the bonus question but I don't have the whole 
article to answer it.

Do I still get an 'A' if I got the answer out of a book? :-)

Mark Welte
Denso Manufacturing Tennessee, Inc.


----------
From:  cmassoglia@vixa.voyager.net[SMTP:cmassoglia@vixa.voyager.net]
Sent:  Tuesday, December 02, 1997 9:49 PM
To:  MIDRANGE-L@midrange.com
Subject:  FMTDTA/#GSORT Challenge

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?

For extra credit, how to you select a range of dates in MMDDYY format, 
e.g.
120297 to 011598>


Charlie Massoglia, Massoglia Technical Consulting, Inc.
PO Box 1065, Okemos, MI 48854, USA
517-676-9700  Fax: 517-676-1006  EMAIL: cmassoglia@voyager.net

application/ms-tnef


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.