|
The "[B" means an array of bytes, or "byte[]" in Java. If you actually have a Java String object, you can convert that to byte[] by calling its toBytes() method. However if you have an RPG character object (data type A or blank in your D-spec) then you have something that is equivalent to the Java byte[], and you can use that as the parameter of autCard. If you have the ILE RPG Programmer's Guide (SC09-2597-03) for V5R1 or later, you will find information like this in Chapter 11. I found it useful, or at least I will find it useful once we can get somebody to go out and upgrade our last remaining V4R5 system... Hope this helps PC2 -----Original Message----- From: Shannon O'Donnell [mailto:sodonnell@xxxxxxxxxxxxxxx] Sent: July 9, 2003 14:22 To: Java Programming on and around the iSeries / AS400 Subject: Re: Calling Java from RPG - CLASSPATH Problem? OK. Thanks Mark and David. Making those changes and setting the CLASSPATH as a *JOB level environement variable just before I called the java class worked. Finds it now anyway. I have another question now: ...
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.