If you're on a supported release, ie. v5r4 or later, the last used
date of the *FILE object is updated when it is used by the query
engine to satisfy a query.

Note however, that an index may provide statistics useful to the query
engine even if not used direct to satisfy a query.

iNav gives last date and time used for both purposes...see
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzajq/indexstats.htm

HTH,
Charles

On Tue, Sep 21, 2010 at 4:04 PM, <franz400@xxxxxxxxxxxx> wrote:
Cleaning 20 years of logical files - is there a way to determine if an index is used by sql - we have a number of store procedures and .net w/sql hitting the system.
Jim Franz
--
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 ...

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.