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



Howard,

the only solution is to place the output in a file and use that.

Regards,
Carel Teijgeler.

*********** REPLY SEPARATOR  ***********

On 8-1-03 at 11:12 Weatherly, Howard (Contractor) (DLIS) wrote:

>Folks, how can I return the answer from a QMQRY to a CL program? For
>instance: in the CL  I do
>
>STRQMQRY   QMQRY(HGR0093/CARDINALITY) SETVAR((VAR1 &VAR1) + 
>             (VAR2 &VAR2) (VAR3 &VAR3))                 
>
>VAR1 contains the collection name VAR2 contains the table name
>
>the Query is to be Select COUNT(*) from &VAR1.&VAR2 into :&VAR3 
>
>so is this possible? or do I need to use the SET GLOBAL &VAR3 = (equal to
>what?)
>
>and, if it can be set, is the value of VAR3 available to the CL program? 



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.