Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Hi Matt,
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 various other database platforms but can't seem to find what works
for the AS400.
I tried "select * from syscat.tables where tabname=tabletofind" but
apparently that doesn't exist in the AS400's flavor of DB2.
Additionally SYSIBM.SYSTABLE doesn't seem to exist either.
Thanks!
This mailing list archive is Copyright 1997-2026 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.