× 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: Optimized Search method for DB files. ?
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Thu, 22 Oct 1998 14:36:58 -0400
  • Organization: commsoft

On Thursday, October 22, 1998 1:29 PM, Ravi [SMTP:ravi@spacestar.com] 
wrote:
> Prabhu.Chella@smed.com wrote:
> >
> > Actually we have a plan to introduce a concept, wherein the DB might
> > contain data from more than one company in the same AS/400 DB.
> > Say,     If the DB of each Company had Employee first name, last name
> > .......   Now it would have an additional
> > field(1'st key field in all the DB's) which will determine to which
> > company
> > the data belongs to .
-snip-
> > Thanks in Advance ,
> > Chellaprabhu.
>
> Instead of combining data from multiple companies into the same file,
> have you considered using multiple members? (ie) A member for each
> company. Depending on the company you want to work with, a CL can set up
> appropriate overrides.
>
> Ravi

As someone who works with multi-member files daily, I would caution 
against their use for several reasons:
1) Not compatible with SQL
2) Not compatible with ODBC
3) Not compatible with other database systems
4) Inability to query across members

Without knowing about the applications that will access this database, 
it's hard to propose a design for a search method.  I think the main thing 
to keep in mind is to create an access path for each method you require 
(within reason.)  That way, CHAIN can return the individual records you 
need, SETLL/READE can return the subset of records you need, SQL can do 
set-at-a-time updates, etc.

Buck Calabro
Commsoft, Albany, NY
mailto:mcalabro@commsoft.net

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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 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.