Problem solve Get help with specific problems with your technologies, process and projects.

Which QUERY/400 queries on the system use the file 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.

Dig Deeper on iSeries CL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.