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.
Dig Deeper on iSeries CL programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.