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



Hi All,

 

I have a physical file that has 20 fields and contains over 2,000,000
records.  In the current RPG program, it does a SETLL/READE on the data
based on a key (which is the first five fields in the record).  However,
the READE command does not have an associated logical file - it is using
the straight PF (this program was written before my time, and I suspect
does not run as efficiently as it should).

 

I went into the system (via Navigator) and added an index to this PF of
the fields that are in the key.  Now my question: when a new index is
created on a physical file, will an RPG program begin using it
automatically, or does the program need to be made aware of the index?

 

Thanks!


Brian.

 

-=-=-=-=-=-=-=-=-=-=-=-=-=-

Brian Piotrowski

Specialist - I.T.

Simcoe Parts Service, Inc.

PH: 705-435-7814

FX: 705-435-6746

-=-=-=-=-=-=-=-=-=-=-=-=-=-

 


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.