Thanks Alan

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.



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[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
stored procedure?

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

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].