• Subject: RE: Case Insensitive Lookup
  • From: Bob Crothers <bob@xxxxxxxxxxxxxx>
  • Date: Fri, 19 Mar 1999 06:37:18 -0000
  • Organization: Cornerstone Communications, LLC

Glen,

In your logical file at the file level, add ALTSEQ(QSYSTRNTBL).  Below 
is an example.  This will provide a case insensitive key.

     A 
                                                ALTSEQ(QSYSTRNTBL)
     A
     A          R MIDRNGR                   PFILE(MIDRNGP)
     A
     A          K COMPNY
     A          K CONTCT


Bob

-----Original Message-----
From:   Glenn Gordon [SMTP:glenn_gordon@wcg.org]
Sent:   Thursday, March 18, 1999 7:34 PM
To:     MIDRANGE-L@midrange.com
Subject:        Case Insensitive Lookup

I'm trying to provide a case insensitive lookup for a database key 
field
containing both upper and lower case.  The user, by typing:

FLINTSTONE, FRED

should be positioned to:

Flintstone, Fred
Flintstone, Wilma
etc.

Using the normal collating sequence, this would position beyond all of 
the F's.
How can this be done without changing the actual data to upper case or 
creating
an additional field containing the upper case version.

There must be a simple way to do this...

Thanks for any help you can provide!

Glenn

+---
| 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
+---

+---
| 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
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].