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



Nice, Timothy!

FYI, and SQL index - without specifying the columns - is basically a kind of table that has only the columns of the index key, plus a reference to the relative record number, which I don't see in the RDi outline when using an index in RPG. This is how the SQL optimizer can make some SELECTs run faster, by using an index-only probe if the WHERE clause refers only to the key fields, in order.

I'm curious about how you displayed the data, as you say in your original post - the only way I can think of is to specify the index in a file-spec in RPG and read it, we can't directly read an index with SQL, we can't do a DSPPGM on it - of course, you could do a DMPOBJ on it, right?

Cheers
Vern

On 4/14/2021 9:23 AM, Timothy Feldmeier wrote:
SUCCESS! I just needed to ADD ALL COLUMNS to the script... as well as the format of course. Thanks everyone.



The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.