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



oh, wow.  Would performance be acceptable?  This is a major improvement over
building a key file. 
 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: Midrange Systems Technical Discussion
Date: 09/10/04 10:14:38
To: Midrange Systems Technical Discussion
Subject: Re: fast search or scan for words in selected field
 
I have found embedded sql inside rpg to be great for this kind of searching.
You no longer need the split file.
I can select all the records with TEST anywhere in the name
with a SELECT statement:
SELECT CUSID from CUST where name like %TEST%
and it will return a list of customer numbers (which you can put in an array
or data structure to process).
There have been samples previously posted, may be sample in IBM's Info
Center,
or send note offline. There are considerations as to how your files ares
indexed.
jim

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.