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
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:


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