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



On 26-Aug-2014 06:44 -0500, rob@xxxxxxxxx wrote:
Once again, please keep in mind that IBM i comes with a built in
database called DB2. And DB2, like most databases, has something
called a "system catalog". There is no need to do a DSPOBJD of every
file out there to an output file. This file already exists and is
automatically updated whenever a file is created. Query the file
SYSTABLES. If you want a list of each partition (member) of each
table (file) then use SYSPSTAT.

Once again, keep in mind that the SQL Catalogs do not track every database file object [including nothing in a QTEMP library]. Review the selection, most notably the WHERE clause, of any catalog VIEW to see what are omitted; one may have to direct their queries to the *DBXREF data [dealing with the issues of both that data is not publicly authorized and that permanent objects vs just queries (that should be WITH NC and FOR READ ONLY) may be deleted by the system]. The Display File Description (DSPFD) of the VIEW will also show the System Database Cross-Reference file QADB* in QSYS over which the logical view is defined to obtain the physical data.


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.