On 6/15/2023 12:51 PM, James H. H. Lampert via MIDRANGE-L wrote:
I'm analyzing some very complex customer code that does a few things I'd never seen before. Including running Query Manager queries

I found this for extracting the SQL for inspection, using RTVQMQRY:

https://www.rpgpgm.com/2013/08/getting-sql-statement-of-query.html

but I'm not entirely sure where the data from the query definitions I'm looking at is actually going.

Can somebody shed some light on this?

The retrieved source goes into the source file that is specified on the RTVQMQRY command.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.