MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: Find files in any library



fixed

On Tue, Oct 9, 2012 at 2:32 PM, Matt Olson <Matt.Olson@xxxxxxxx> wrote:

V7R1. I want to do it the SQL way as I can do a lot more things with it
than I can with various AS400 specific commands. Such as creating various
reports in a reporting tool like SQL Reporting Services.

I tried looking at SYSIBM library but I only see 7 objects in that library
(SYSDUMMY1, SYSPRIVILEGES, SYSTABLETYPES,
SYSCHARSETS,SQLTYPEINFO,MQSERVICE_TABLE,MQPOLICY_TABLE). I'm use to seeing
many dozens, if not hundreds of system related tables (in other database
platforms) that will give you the nuts and bolts of every facet of the
database (file size, # records, doing column name searches, indexes, all
security details, etc). This allows you to solve a lot of questions with
SQL statements such as "show me tables without a primary key defined",
"show me all tables that has column name xyz in any library", and my main
question of "tell me any library that has the file named xyz in any
library" etc.


This should help:

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r1/topic/com.ibm.etools.iseries.langref2.doc/rbafzmstcatalog.htm







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact