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



Yep. As I alluded in response to the question "why would anyone want to do that" that was raised in this same thread:
http://archive.midrange.com/rpg400-l/200809/msg00070.html

And of course as alluded in the quoted text below, the INDEX itself [i.e. not an INDEX _over_ a VIEW] might be able to resolve some cases [in v6r1], instead of having to use OPNQRYF KEYFLD().

Regards, Chuck

Bruce Vining wrote:

One scenario that arose recently at one of my accounts was the
desire to do keyed IO from RPG (using common data management
interfaces) to a view containing a UDF.

CRPence wrote:
Doug Palme wrote:
Is there any way to create an index over a view?

No. What scenario gives rise to that inquiry? <<SNIP>> The DB2 for i [with IBM i 6.1] offers some new function with its
SQL CREATE INDEX statement. That new function enables an SQL INDEX
to be created both with mapping [expressions represented as
columns] and selection [a WHERE clause], very similar to what a DDS
LF derived [keyed] [select/omit] index might provide.

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.