Here is the documentation page in the Knowledge base
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzasc/sc092507235.htm#wq371
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----Ali Ekinci <Ali.Ekinci@xxxxxxxxx> wrote: -----
To: "midrange-l@xxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxx>
From: Ali Ekinci <Ali.Ekinci@xxxxxxxxx>
Date: 08/15/2016 11:29AM
Subject: re: Question on how to convert a java string object to RPGLE ucs-2 variable (Type C)
I have a RPGLE program that is a wrapper to a java program that inputs a string and returns string as well. Then rpg converts java string to type A varying length output variable via java.lang.String.getBytes method. Now changing my RPGLE to work with Unicode parameters. String constractors seemed to worked with type C inputs, but couldn't figure out how to convert java string to type C varying length.
Thanks for any help in advance.
As an Amazon Associate we earn from qualifying purchases.
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.