We currently use your second option, which we thought was a reasonable
approach to return "business logic" warnings and errors. We have been
questioned on this as an approach and asked if we can do it via JDBC
Exceptions and warnings.
I think the bottom line is that we can't do it for "business logic" and for
system level / communications errors the JDBC driver will already take care
of throwing exceptions for us.
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: 22 August 2009 00:01
To: Midrange Systems Technical Discussion
Subject: Re: Warnings and errors in a Stored procedure
If you return them as an array (Ugly, Ugly) or as a result set.
On Fri, Aug 21, 2009 at 3:32 PM, Neill Harper <neill.harper@xxxxxxxx> wrote:
Is it possible to return multiple warnings from an RPG externally defined
So that JDBC can read multiple warning after a successfully call to the
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives