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



Czarek,

Glad to be of help.

Regards,

Luis Rodriguez

--- rpg400-l-request@xxxxxxxxxxxx wrote:
------------------------------

message: 2
date: Mon, 8 Oct 2007 21:42:39 +0200
from: "Cezary Krzywda" <Cezary.Krzywda@xxxxxxxxxx>
subject: RE: Create table & Create Phisical File


Thank you very much. My program working. I have used
index file like
logical file.

Czarek

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis
Rodriguez
Sent: Monday, October 08, 2007 8:33 PM
To: RpgMidrange
Subject: Re: Create table & Create Phisical File

Czarek,

A SQL index is not usable directly with a SELECT
statement.
AFAIK, SELECT can only reference tables and views (LF
being
a special type of view). If it makes the table or view
access faster, the DB engine will use the index although
you reference only the Table (or view).

That said, you can use a SQL index with any RPG program,
with the proper op codes (CHAIN, SETLL, etc) and it will
work the same as a "traditional" DDS-defined LF. In fact,
a
SQL index has a better performance than a DDS LF.

Hope this helps,

Luis Rodriguez



Luis Rodriguez

IBM Certified Systems Expert
eServer i5 iSeries Technical Solutions


____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7



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.