Thanks scott, that was what I was looking for. QSYS2 seems to have quite afew objects I will want to examine.
various other database platforms but can't seem to find what works for the
Anyone know if a system view map exists like they have for Microsoft
From: Scott Klement [mailto:midrange-l@xxxxxxxxxxxxxxxx]
Sent: Tuesday, October 09, 2012 2:33 PM
To: Midrange Systems Technical Discussion
Subject: Re: Find files in any library
Do you just want to do something like this?
select * from qsys2.systables where table_name='Whatever'
On 10/9/2012 2:20 PM, Matt Olson wrote:
Anyone have any idea how to find files in any library using SQL?
I'm used to having a wealth of information available in system views in
apparently that doesn't exist in the AS400's flavor of DB2. Additionally
I tried "select * from syscat.tables where tabname=tabletofind" but
moment to review the archives at http://archive.midrange.com/midrange-l.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
This mailing list archive is Copyright 1997-2013 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