--- Message from CRPence <CRPbottle@xxxxxxxxx> on Wed, 30 Jul 200819:09:44 -0500 -----
To: midrange-l@xxxxxxxxxxxxSELECT to run in batch?)
Subject: Re: SQL SYSIXADV STRANGE RESULT (WAS Way to get STRSQL
The displayed file information does not show SQL attribute of INDEX,
so the access path characteristics might not be preferable for SELECT
queries. Perhaps created as an SQL INDEX the results would change.
<<SNIP DISPLAY FILE DESCRIPTION output>>
If it worked, the V5R4 file SYSIXADV would be a very powerful and
time saving function. I use STRDBMON to get the same info, but I can
only do that when the job is running. We have BPCS and IIM is the
I used the SQL below and IIM came up. I could not believe my eyes,
we are quite diligent and anyway there exits a LGL with the exact
key advised with no other Selects etc etc.
So either SYSIDXADV is broken or something else is not set properly.
TIMES_ADVISED TABLE_SCHEMA NAME LAST_ADVISED KEY_COLUMNS_ADVISED
56,674,993 LIB IIM 2008-07-31-09.30.19.926679 IPROD