|
SRamanujan=dsjOEj4+x6mynpMCO8VUG9BPR1lH4CV8@public.gmane.org wrote:
>
> ... I also wanted to know how to read a string returned I have used AS/400
>alpha numeric in PR for return. But am not sure this will work.
> ...
Use the String.getBytes() method. Here's one RPG prototype for it:
D getBytes pr 65535 varying
D extproc(*java
D :'java.lang.String':'getBytes')
D value s 65535 varying
value = getBytes (theString);
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.