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



I am curious as to what is contained within the Java string that requires
that much space.  There may be an alternative mechanism for relaying the
string value that would give you much more flexibility in the future (i.e.
user spaces).

Your issue of passing large strings is giving me an idea based on a previous
open source tool I have out there.  Check out "RPG Dynamic Arrays" at
http://mowyourlawn.com/blog/?p=19

The basic premise of the RPG Dynamic Arrays tooling is to allow you to store
RPG data structures in a user space and easily retrieve them using service
program sub procs.  I am thinking some simple Java code could be written to
get and put information into the user space in a similar fashion.  That
would allow very easy passing of complex RPG data structures to/from Java
programs.  I will put the Java portion on my to-do list if for nothing else
than some fun coding :-)

Let me know if that would help you out in your case,
Aaron Bartell
http://mowyourlawn.com/blog
 

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Adele Cavalli
Sent: Friday, May 26, 2006 8:13 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: getBytes for a string longer than 65535

Bonjour,

because it seems that getBytes can only be used with strings up to 65535, is
there another way to convert a java String longer than 65535 into an RPG
string ?

Thanks.
Adele.
 


        

        
                
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
--
This is the RPG programming on the AS400 / 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.

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.