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



JK

If you want to learn some things and also get a result set, you can install 5722ST1 and use it for 70 days without any problem. You do not need it to RUN the program, just to create it in the first place. There'e probably not a question of maintenance if the machine - sigh - is going away.

I also like QMQRY - could STRQMQRY and use OUTPUT(*OUTFILE) - if you are not in control of the column layout, you'd need to use internal file definition specs, or learn the _R C/C++ record-level access functions. Heh!!

BTW, they are fully usable from ILE RPG.

HTH
Vern

-------------- Original message ----------------------

-snip-

From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of johnking@xxxxxxx
Sent: Thursday, 2 October 2008 9:29 a.m.
To: rpg400-l@xxxxxxxxxxxx
Subject: Creating SQL result set in RPG without 5722ST1

All,

Am experimenting with the excellent "RPG to the Web" articles published
earlier this year by SK and have run into a slight problem in that our
shop does not have
5722ST1 SQL Developer Kit so it isn't possible for me to compile SQLRPG.

I've had success in the past using QSQPRCED and SQL CLI to prepare and
execute SQL statements from RPG, but this is the first time I've needed
to create and return a result set. Presumably there are one or more API
calls that simulate "SET RESULT SETS" but my inexperience is showing as
I cannot put all the pieces together.

Can anyone point me in the right direction? Unfortunately, purchasing
5722ST1 isn't an option here - our iSeries shop is in the process of
being replaced by a 'nix system and I am specifically disallowed from
purchasing or installing any additional software during the process. All
education is on my dime and spare time...

Many thanks, JK

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.