Although parsing the TEXT is somewhat trivial for the TABLE names referenced in the FROM clause, I believe what you are looking for is SYSVIEWDEP instead of SYSVIEWS to see the relationships.

Regards, Chuck

David FOXWELL wrote:
There doesn't seem to be anyway of finding the table used for the
view without looking at the TEXT field.

Maybe DSPDBR first and then join on SYSVIEWS. Is that reasonable?

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

This mailing list archive is Copyright 1997-2015 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