Gary Gutherie wrote a clever little utility (using MI) which can retrieve the files used by a query. Should be on www.news400.com somewhere.
From: Ivan Moody [mailto:email@example.com]
Sent: Tuesday, September 07, 1999 8:57 AM
Subject: How To Find Out What Outfile a Query Produces.
This message and any attachments to it are subject to copyright and are
sent for the personal attention of the addressee. It may include
information which is legally privileged and exempt from disclosure.
If you receive this communication in error, please advise us immediately.
I am involved in a project which has to convert a large number of user
queries into programs, by reserve engineering them.
The problem I have is that many of the queries use files for input that have
been created by other queries.
As there are more than 4000 queries I am having trouble finding which
queries output the file I'm looking for.
Can anyone come up with something that will let me list the details of some
queries (including their output info.) into a file.
I have tried RTVQMQRY, but this only shows you the input file not the
I have also tried printing the queries (with a view to copying the print to
a file I can scan).
Unfortunately printing them all though WRKQRY is taking forever as this
only allows a couple of pages of queries to be selected for print at a time.
Anyone got any suggestions, as I am at a loss,
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: firstname.lastname@example.org