If the user below has HAWKEYE, it can be used to find the following. Use DSPOBJU MYFILE.
How can I find which QUERY/400 queries on my system use the file MYFILE? Is there a system file that holds that information that can be queried?
There is no system file that contains the query information. The definition is contained in the definition object. The easiest way to find them is to work with queries and prompt for the list based on your library list. Enter option '6' to print the definition of each query. Slow, manual and tedious unless you can create a tool to search all of the spooled files. That's what you have to work with.