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