Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Files used by queries

Status
Not open for further replies.

NoseDive

Programmer
Jan 13, 2005
9
GB
Does anybody know how I can retrieve a list of files used in a query definition (other than by printing the query definition).

I need to find out which queries run over a certain library/file. As we have a lot of queries in a lot of libraries I cannot go through each one individually. I have created, in a PF, a list of all *QRYDFN objects on the system and need to interrogate them all, retrieving the names of all files used.

I used to know of a propgram/API that did this, but have changed jobs and no longer have it (and can't remember what it was called)

Any help would be appreciated. Thanks.
 
Thanks - I forgot to mention that we are at security level 40. It would appear that this version has now been restricted to iseries News Pro VIP members only. I don't suppose anybody has downloaded this and would be kind enough to share it with me?

Thanks.
 
It's OK, I have passed this onto our software supplier, who will do it for us.

But thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top