Google Groups Home
Help | Sign in
Case
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
eppick77  
View profile
 More options 3 Sep, 16:01
From: eppick77 <eppic...@yahoo.com>
Date: Wed, 3 Sep 2008 08:01:32 -0700 (PDT)
Local: Wed 3 Sep 2008 16:01
Subject: Case
I am in the process of converting from D3.  I am finding that there is
a couple of files that have Upper/Lower case data in them as well
upper case (You have to love consistency).  I am lucky in that I have
asked and been told that there should be only 2 places this should be
a problem.

The dictionary just points to the attribute - it does not do a MCU on
it.  This creates the problem that they have data in there like,
mcclure,Mcclure,MCCLURE.

I have modified the dictionary item to do a MCU on it.  I have the
files set up to to NO.CASE so that any keys will not have a problem
with the case however, I know of no way other than what I just did to
handle the data.

How are others handling that situation?

Eugene


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Phillips  
View profile
 More options 4 Sep, 11:40
From: Martin Phillips <MartinPhill...@ladybridge.com>
Date: Thu, 4 Sep 2008 03:40:44 -0700 (PDT)
Local: Thurs 4 Sep 2008 11:40
Subject: Re: Case
Hi again Eugene,

There are three case sensitivity mechanisms that may be of interest.

1. Case insensitive record ids

I don't think this is relevant to your problem but is worthy of a
quick
discussion anyway.

The QM file system uses case insensitive record ids by default except
for
directory files where case sensitivity depends on the underlying
operating
system. For hashed files, there is an option to choose case
insensitivity in
which case records with ids AA, aa, Aa and aA are all the same.

2. Case insensitivity in the query processor

The query processor is case sensitive by default. The various
operators used
in a selection clause all support the NO.CASE option, for example
   LIST CUSTOMERS WITH NAME LIKE NO.CASE "Mr..."
or
   LIST VOC WITH TYPE EQ NO.CASE "v"

Note that our implementation truly is case insensitive unlike the
unusable
version recently added to UniVerse where it simply translates what you
type
to upper case and compares with the data as stored in the record. The
first
example above would find "MR JONES" but not "Mr Jones". (I have moaned
to
IBM who admitted that it does seem to be wrong).

The OPTION QUERY.NO.CASE command can be used to make the query
processor
case insensitive by default.

3. Case insensitivity in QMBasic

The $NOCASE.STRINGS compiler directive (or its equivalent in the
$BASIC.OPTIONS record) can be used to make string comparisons case
insensitive.

Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CDMI - Steve T  
View profile
 More options 4 Sep, 16:05
From: CDMI - Steve T <c...@swbell.net>
Date: Thu, 4 Sep 2008 08:05:06 -0700 (PDT)
Local: Thurs 4 Sep 2008 16:05
Subject: Re: Case

thanks for that explanation Martin.
clears up some questions in my mind as well.
i'll hang on to this email for future reference.
 
Steve Trimble
Computerized Data Mgmt Inc
PO Box 13403
Maumelle, AR 72113
(501) 803-0974 09:00am - 6:00pm CST
 
Home of self defense products: http://www.protecturself.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google