Neill Harper wrote:
I couldn't find the keys for a logical file in
the SYSKEYS view, it only seems to have proper
SQL indexes in it, I gave up trying to figure
it out and just went for the DSPFFD and DSPFD
options they work well so why not?


FWiW: A review of the definition of SYSKEYS [e.g. DSPFD QSYS2/SYSKEYS] will find the test DBIATR='IX' in the WHERE clause. That eliminates database logical files which are either non-SQL ['LF'] or SQL VIEW ['VW'] objects. Always verify the definition of the catalog VIEW, to ensure the data of interest will be included, before attempting to use the supplied VIEW rather than one created specific for the task at hand.

Regards, Chuck

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.