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



5722ST1 gives you

- STRQM: A front end to QMQQRYs and QMFORMs. You can build these without
STRQM but you may prefer the tool.

- STRSQL: A 5250 version of the freebie iNav's Run SQL Scripts. Uses
limited prompting versus iNav's templates. Often, I do prefer the
prompting over the templates. BUT, do not let STRSQL be the only way you
learn SQL. The limited prompting support WILL hold you back.

- Embedded sql in HLL programs like RPG and COBOL. The alternative is to
use Call Level Interface or CLI. There's some comparison of the two at:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/cli/rzadpdifferences.htm
One important thing left out is that CLI supports reading result sets
while embedded SQL does not.
May feel that embedded is faster to bang out. I'm in this camp.
Some feel that if you've done any odbc work in visual basic, etc, then you
will find CLI very similar.
The "Sorcerer's" redbook on RPG covers CLI also.
For a sample of embedded SQL see:
http://code.midrange.com/dbee2df8ac.html
Granted, it may confuse those who have not done any subprocedures, used
free format RPG, or basically have learned nothing new in RPG over the
last 10 years or so. It could be updated as the os now supports SQL in
free format also.
We use canned software. But we also have over 1,500 SQLRPG* type source
members.
DSPFD FILE(*ALL/QRPG*)
TYPE(*MBR)
OUTPUT(*OUTFILE)
FILEATR(*PF)
OUTFILE(QTEMP/QRPG)
strsql
SELECT COUNT(*) FROM qtemp.qrpg
where mbseu2 like 'SQLRPG%' AND
MBLIB NOT LIKE 'ERPLXS%' AND MBLIB NOT LIKE 'ERPLX8%' AND
MBLIB NOT LIKE 'ERPLXPTF%' AND MBLIB NOT LIKE 'ERPL8%'




Rob Berendt

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.