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



+1

IBM's rose of the same name doesn't smell quite as sweet, IMHO!


On 9/25/2014 1:34 PM, Voris, John wrote:
The RUNSQLSTM is a great command and helps move you into the SQL world with training wheels.
http://wiki.midrange.com/index.php/SQL (which uses SQL syntax and the QM engine.)

>From an SQL statement like RUNSQLSTM ' SELECT A.*, B.* from FileA A join FileB B on KeyA = KeyB '
and using F4 to name your output file, there is no need to crank up old WRKQRY to get an *OUTFILE.
You can do this with the custom RUNSQLSTM command.
(The real power of this custom command is that it can put SQL results to green screen.)

RUNSQLSTM
SQLSTM('SELECT A.*, B.* from FileA A join FileB
B on KeyA = KeyB ')
OUTPUT(*OUTFILE)
OUTFILE(MYLIB/MY_OUTFILE)


message: 7
date: Thu, 25 Sep 2014 09:09:38 -0400
from: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
subject: RE: 57nnQU1
I use both, each has their own advantages.
Use query to join files, output results to an outfile.
Haven't ever done this with SQL.
SQL search, replace, and update capabilities are superb. Can't really do this with query.
SQL index engine out performs the query index engine.
Paul


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.