× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It depends on what you need to see - IF you want to see the equivalent SELECT statement that will basically the same thing as the QRYDFN does, you need to use RTVQMQRY - look at the prompts, there is one that says to get it from a QRYDFN only. On the RTVQMQTY command you specify a source physical file, length 91, where you'll get a member with the SELECT statement in it.


If you want to know what the output from a QRYDFN might look like in QM, you use the RTVQMFORM and specify a source PF of length 162. This is not something you want to edit manually. I won't bore you with more, seems you are looking for something else.


BTW, QM queries and forms do some things better then QRYDFN-based objects, other things they can't. There's a command to help predict where you might have issues.


Cheers
Vern


On Thu, 15 Jun, 2023 at 1:32 PM, James H. H. Lampert via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx> wrote:


To: midrange systems technical discussion
Cc: jamesl@xxxxxxxxxxxxxxxxx
On 6/15/23 11:23 AM, Mark Waterbury wrote:
Use WRKQRY option 6=Print to print the "query definition."

*MUCH* MORE USEFUL AND CONVENIENT than RTVQMQRY for determining what
somebody else's queries actually do.

Thanks. I've lost count of how many I owe you.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.