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



All -

Not sure where to post this message, since it involves both RPG and Java.

I'm finally getting a chance to dig into java, and it has been challenging. For Java development, I am using the SAP NetWeaver IDE, which is based on Eclipse.

Questions:

1) I have an RPG program which executes a Java method to retrieve inventory availability from a SAP system, and I am having difficulty with the returned value being truncated.

What am I doing wrong? Information and code samples:
http://code.midrange.com/e6d6193947.html

2) I don't have WDSC, RDi, or RDP. Is it possible to use the IBM I graphical debugger via Navigator to debug the Java class/method as it is being called from RPG?

3) If I'm unable to use #2, will System.out.println let me print information on the IBM i system to a spooled file from within the Java method so I can debug it this way? Is it simply a matter of overriding the stdout and stderr printer files before calling the java method?

Thanks in advance for assistance,
Steve




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.