|
Without understanding your situation, might this be a solution?
Make your SQL into stored procedures, and call them from CL. The SQL can
create files and/or send send escape messages you can monitor for in the
driving CL. You could even create a report by listing a file with QMQRY
or Query/400 with RUNQRY *NONE.
Just a thought, FWIW ...
On 12/26/2024 3:53 PM, Rob Berendt wrote:
Here's the scenario. You're checking a few things in your effort toswitch
from one system to another. This involves close to restricted state butlot
not quite. ENDTCP and ENDSBS *ALL are out. Client/server or http based
tooling are also out. I thought about a CL based process but I have a
of SQL I want to use and I'm tired of jumping through hoops to interactthe
with SQL with CL. I may end up with RPG. I thought about using Stored
Procedures but prompting from that would be new to me (but I'm open to
enlightenment). I'm concerned that prompting from Stored procedureswould
be as much jumping through hoops as using SQL from CL.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.