We have ALL been there.
Paul
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve
Landess
Sent: Friday, February 27, 2015 7:18 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: String value being truncated upon return to RPG program
lol --
I am an ID10T.
That's a PEBKAC error:
Problem Exists Between Keyboard And Chair.
-sjl
wrote in message
news:mailman.1031.1425034925.14083.rpg400-l@xxxxxxxxxxxx...
Your CvtToBytes return value is only 30 alpha.
Can you increase that to say 60?
Paul
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: Thursday, February 26, 2015 11:59 PM
To: RPG400 List; java400-l@xxxxxxxxxxxx
Subject: String value being truncated upon return to RPG program
All -
I was not sure where to post this message, since it involves both RPG and
Java, so I posted it to both lists...
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
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.