|
Dave, Thanks for your reply. I think, I have to further describe my question. I've been able to send a few parameters to the RPG and get them back. What I'm trying to do is to send data structure of fields with different attributes, maybe even externally described DS(is that possible at all?). Thanks again, Oleg. -----Original Message----- From: Dave Wall [mailto:dawall@us.ibm.com] Sent: Friday, February 15, 2002 4:25 PM To: java400-l@midrange.com Subject: Re: Java to RPG question I can help a little. Conversion classes in the IBM Toolbox for Java can help convert between Java and iSeries formats. For example, you use the AS400PackedDecimal class to convert between a Java double and an iSeries packed decimal number. The following converts a Java double number into iSeries packed decimal format and stuff them into a byte array. It then reverses the process. It grabs the numbers out of the bytes byte array and converts them back into Java numbers. The information transmitted by the following E-Mail is intended only for the addressee and may contain confidential and/or privileged material. Any interception, review, retransmission, dissemination, or other use, or taking any action upon this information by persons or entities other than the intended recipient is prohibited by law and may subject them to criminal or civil liability. If you received this communication in error, please contact us immediately at 954-730-2900 ext. 3600 and delete the communication from any computer or network system.
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.