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


  • Subject: RE: Duplicate Field in Logical File
  • From: Khouw Thiam Hok <AHOK@xxxxxxxxxxxxxxxx>
  • Date: Tue, 5 Dec 2000 09:59:10 +0700

Hi Fran,
I tried it with my own file, and put the date as first key and then defined it again as last key in descending order. The view of the logical file is ignored the last one (date in descending order) that I defined as key, in other words you may take out the line no 28,it's effect nothing.  And for you, IBM , how do you explain this?
-----Original Message-----
From: Fran Denoncourt [mailto:fran_denoncourt@mindspring.com]
Sent: Tuesday, December 05, 2000 7:58 AM
To: MIDRANGE-L@midrange.com
Subject: Duplicate Field in Logical File

Am I imaging things or just getting old??? I don't remember seeing a duplicate field in a logical view but this has one field TRTRDT duplicated....and it compiles fine. DSPFD shows both as keys. How would records get sorted??

0018.00      *****************************************************************
0019.00      A*
0020.00      A          R WWCCCC                  TEXT('Transaction History')
0021.00      A**
0022.00      A                                      PFILE(WWCCB)
0023.00      A          K TRTRDT
0024.00      A          K TRWHS
0025.00      A          K TRAISL
0026.00      A          K TRBAY
0027.00      A          K TRLEVL
0028.00 /301 A          K TRTRDT                    DESCEND
0029.00 /301 A          K TRTRTM                    DESCEND
        ****************** End of data ****************************************
Thanks,
Fran Denoncourt

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.