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



"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 01/03/2019
03:55:22 PM:
Technically one could do a RUNSQL to wrap my SQL statement with
CREATE TABLE QTEMP.TEMPTABLE AS(
...
) WITH DATA

and then do a RCVF on that.

Personally I tend to avoid CL because, as you've just pointed out, it
limits what tools you're willing to use.


I don't think having to run such an SQL statement and then do a
RCVF would perform much better than just using the DSPFD command to create
the output file for RCVF. I'm sure IBM is being very efficient under the
DSPFD command covers. I just wish the DSPFD command had an option to
return even fewer data columns of information to make it more efficient
(using *BASATR now). Without it, that might justify the RUNSQLSTM method.

However, I did write my own tool for being able to build and use
an SQL statement in CL (i.e., it returns the data in a CL variable) but
this CL is for a stand-alone sample UIM application to put in the wiki. I
didn't want to increase the complexity of the sample application.


Sincerely,

Dave Clark

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.