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



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.



On 11/26/2013 1:10 PM, James H. H. Lampert wrote:
On RTFMing, I see that RNX0301 seems to be the catch-all for Java
exceptions thrown on calls from RPG, and that "This message has the
string value of the Exception . . . ."

And I see that in the joblog.

But is there a way for the ON-ERROR on my MONITOR block to see it?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.