× 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: Fastest string scan
  • From: Denis Robitaille <drobitaille@xxxxxxxxxxxx>
  • Date: Thu, 18 Sep 1997 08:51:33 -0400
  • Organization: Cascades inc.

Joe Teff wrote:
> 
> I would choose a different method than reading the entire file regardless of 
>how you scan the records in your program. I would choose a way to use a 
>wildcard search in OPNQRYF or imbedded SQL. If all you have to do is show them 
>a list, I would suggest using a query. The selection would look like
> 
>           ITEMNO    EQ      '%ROLLS%'
> 
> When you run the query, use RUNQRY QRYNAME RCDSLT(*YES) OUTPUT(*DISPLAY). 
>This will show the record selection prior to running the query and then show 
>the results on the screen. Not very fancy, but very effective.
> 

In fact, it does more than simply show the products, this program is use
to select the product in an order entry application. Also the user can
request to see the product file by positioning on a line and pressing a
function key. For those reason, i can not use the "raw" runqry aproach.
(also, the users would not apreciate the runqry screen and ask me to
change it which i could not do).
-- 
Denis Robitaille
Cascades Inc.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| 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.