Dan, A long time ago I found a RTVQRYF MI routine will extract a list of files used by Queries. I put a nice command around it that produces an outfile used by queries. Send me an e-mail if you want to get a copy (You should use Craig Rutledge´s XMLPreview utility and my CRTMIPGM command to install the RTVQRYF utility). Of course you can also get a copy of only the MI program at "http://archive.midrange.com/midrange-l/200112/msg00429.html". Or search the Internet for "Query_Input_Files_Template_Library_Name". Thomas Raddatz. E-Mail: thomas.raddatz_at_tools400.de Dan <dbcerpg@xxxxxxxxx> schrieb am 11.06.2004, 05:01:28: > Esteemed listers: > > Is it possible to write a program that will take a query definition (*QRYDFN) > name & its library passed in as parameters and return the query's output file, > if it outputs to a data file? > > I have a datafile that likely was created by Query, but with hundreds of > queries on the system to choose from, it would be most frustrating to have to > open up each query to determine its output file. > > TIA, > Dan > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > _______________________________________________ > This is the MI Programming on the AS400 / iSeries (MI400) mailing list > To post a message email: MI400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/mi400 > or email: MI400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.