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



Paul,

<snip>
Only SQL defined indexes are really accessible by traditional I/O - which means 
you
can't make use of all those cool features that were defined in views (without 
using embedded SQL).
<snip>

I don't believe this is correct.  I have used an SQL view as in input file 
defined on the F-spec without any other SQL in the program.  Maybe I'm not 
understanding what you are saying.

Rick

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Paul Tuohy
Sent: Friday, July 23, 2004 2:37 PM
To: Midrange Systems Technical Discussion
Subject: Views and Indexes (was Re: MIDRANGE-L Digest, Vol 3, Issue
1075)


Hi Joel,

I think the clarity needs some clarification :-)

You are correct that views have columnar abilities (quite a lot of them)
that are not available in DDS but views and indexes are two very seperate
things.

A view does NOT incorporate an index. When using a view (using SQL select)
it is the ORDER BY CLAUSE and WHERE clauses that are used to determine which
index is used.

A logical file is not just an index. It can do sequence, selection,
projection, union and join - just not as many options as SQL. It's one big
advantage (as Rob pointed out) is that a logical file can define a combined
view and index. This is of enormous value for traditional I/O. Only SQL
defined indexes are really accessible by traditional I/O - which means you
can't make use of all those cool features that wer defined in views (without
using embedded SQL).

Paul Tuohy


----- Original Message -----
From: "Joel Cochran" <jrc@xxxxxxxxxx>
<snip>
> And for clarity, a View incorporates an index.  A view has columnar
> abilities that are not available in DDS.  A view is more than an index,
> where as a logical file, no matter how complex, is just an index.  A
> view is limited to the subfields mentioned within.
>


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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-Ups:

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.