|
Dave, I have only one question left. I created ProgramParameter with a length of entire DS(Output only). Call RPG. Converted parameter to byte array. Now, how do I convert this array back to the RecordFormat??? Thank's for your help. Oleg. -----Original Message----- From: Dave Wall [mailto:dawall@us.ibm.com] Sent: Monday, February 18, 2002 1:56 PM To: java400-l@midrange.com Subject: RE: Java to RPG question Second, you could use a Toolbox RecordFormat object. That object is a collection of converters. You stick the proper types in the record format, then tell the object to dump out a byte array that your code sends to the server. An example is at http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/info/rzahh/javadoc/DQProducerExample.html. 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.