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



On 27-Sep-2016 14:25 -0500, Steinmetz, Paul wrote:
[…]
RUNSQL REQUEST(' select ''UPPENFILES'' as MyLib, ''STMTM3P'' as
MyFile, GQBGUN, count(*) as MyCount FROM UPpenfiles/STMTM3P GROUP BY
GQBGUN ORDER by GQBGUN') OUTPUT(*PRINT)

Results with this STRQMQRY […]

All the more reason to just code directly to a custom QMQRY and use the SETVAR for the specific values rather than the string [and worse, escaping the delimiters] that must be modified by whatever means and then specified on that RUNSQL request. Not to suggest there are a lack of slick ways to generate the replacement values in the larger string, but using the RUNSQL is a few levels of indirection; just code directly to a specific QMQRY [and optionally a QMFORM -- though the fact that the query output is already deemed acceptable and already being produced by QMQRY, then that would seem to imply that the Default QM Form already must be acceptable].


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.