The RPG problem (#1) is solved (I'm an ID10T),
but I still don't have the answers to #2 and #3 below.


"Steve Landess" wrote in message news:mailman.1040.1425043548.14083.java400-l@xxxxxxxxxxxx...

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


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:

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,

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-2021 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.