× 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.



You can convert traditional iSeries query to a Query Manager Query (an optional for cost item if I'm not mistaken).
We use a home-grown command to automate that and then we can use the QM Query or strip the SQL from it
and use for what-ever purpose . . .
I can post source to Midrange if that would help.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: Tuesday, July 21, 2015 12:28 PM
To: Midrange Systems Technical Discussion
Subject: Convert query to SQL

Has anyone ever tried to create a tool that could convert a query definition into an SQL statement? We get a fair number of requests from users who will work with query to develop an ad hoc list of students they want to send an email to and then they need to contact us to code that request up so it can be used to send an email. I was considering building an app that could ask them for the subject and body of the email, and the name of the query they wrote. Then convert the query to a dynamic SQL statement that did the select and would always have the email included as a field. Process the SQL result set and send the email.

Sent from my iPad
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.