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



You should be able to create that index right now as the query in running
and the next request will take advantage of it.

-Walden


------------
Walden H Leverich III
President
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@TechSoftInc.com
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)



-----Original Message-----
From: Buck Calabro [mailto:Buck.Calabro@commsoft.net]
Sent: Thursday, August 29, 2002 15:32
To: midrange-l@midrange.com
Subject: RE: CPU usage for QZDASOINIT


>The following list contains the suggested primary and secondary key
>fields: POLICY0NUM.
>
>So does it say this because policy0num is NOT indexed?

POLICY0NUM is not in any index.

>It can't be a primary key because it
>does not have unique values.

If you use DDS to create logical files, don't specify UNIQUE.  If you use
SQL, CREATE INDEX RUGR80DAT/index ON RUGR80DAT/PMSP0200 (POLICY0NUM). That's
not unique, but that's OK.

>RUGR80DAT/RUGL020002 17, RUGR80DAT/RUGL020001 11, RUGR80DAT/PMSP02L0
>17, RUGR80DAT/PMSL0207 11, But what are all thsoe files?

As the optimiser tries to figure out the best way to satisfy the query, it
looks at existing logical files to see if they would help.  None of those
logicals have an index on POLICY0NUM, so the optimiser discards them and
tells you why.
  --buck
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.