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



On 11/26/13 11:34 AM, Scott Klement wrote:
You could get it by calling the QMHRCVPM API. However, the RNX0301
puts some significant limits on the size of the exception string which,
in my experience, makes it very difficult to tell what the error
actually is.

Also, some of the code in JDBCR4 bypasses IBM's Java support for RPG and
calls the JNI APIs directly. This won't have the string limitation, but
also won't send an RNX0301... so that case would have to be handled
separately.

Thanks. It's in my own additions, so the latter isn't especially relevant, and since I'm currently only checking to see if the root cause is a duplicate key, I've got plenty of space to find that.

While I was at lunch, QMHRCVPM did occur to me (although I had a brain-fart on the name), but I'd hoped there would be something easier. Oh, well, I've got it working well enough, so far, and that's what counts.

--
JHHL


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.