× 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: Alphabetizing detail records to a header file
  • From: Raul Jager <raul@xxxxxxxxxx>
  • Date: Mon, 06 Dec 1999 10:22:56 -0300
  • Organization: abc color

A "Join" logical file will be an elgant solution, I belive performance
will be good, but I'm not sure.  A "View" created by sql also will work. 
_____________________________________________________________________
by way of David Gibbs wrote:
> 
> I have an idea I may have missed something obvious.
> 
> Here's the situation:  I have a Header File of names and addresses. The
> Header File has a unique identifying number for each name.  The numbers
> are assigned as each new name is added to the file so the numbers really
> amount to arrival sequence, not  to Alphabetic Sequence.   I do have a
> logical over the Header File based upon the name, so that any reports can
> be generated in alphabetic order.  All this seems simple and straight
> forward.
> 
> Now comes the part where I think I am missing something:  I also have an
> application with a small detail file for a  specialized application.  The
> small group is probably going to be about 300 records but certainly never
> over 1,000 records.  I've linked it logically with the Header File by the
> unique Header File I.D. number. To present an alphabetic subfile on the
> screen of that small grouping I have to read through the entire alpha
> logical on the Header File.  As you can imagine performance is horrid.
> 
> In the past I've loaded an *INZSR array, and I've denormalized the data.
> Neither method has felt right.  Is there some simple thing I've missed?
> 
> Thanks.
-- 
  Raul A. Jager W.
Asuncion - Paraguay
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 thread ...

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.