|
Ah...disregard my previous response to your suggestion. I took a closer look and realized what you were telling me. Thanks. That might just do it for me! Shannon O'Donnell -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Metz, Zak Sent: Wednesday, March 10, 2004 1:25 PM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] RPGIV calling Java...question about prototyping Shannon, Here's a prototype for a method that accepts a String and returns an instance of String. The "O" on the first line tells it that an object will be returned. The first parm then defines that object. After that, the values that are passed in get listed. Hope this helps! d mGetItem PR O EXTPROC(*JAVA: d 'com.hotdata.hdk.client.HdkResultset' d :'getItem') d* Return Value d CLASS(*JAVA: d 'java.lang.String') d* Arguments d 10i 0 VALUE d O CLASS(*JAVA: d 'java.lang.String') d CONST > > * Prototype procedure to connect to QManager > D MQJBINDM PR 10i 0 > <<<<-----this return value is incorrect, but I don't know how to fix! > D EXTPROC(*JAVA: > D 'MQJBIND': > D 'MQJBIND') > D ManagerQ LIKE(qManager) CONST > D NameQ LIKE(qName) CONST > NOTICE: This E-mail may contain confidential information. If you are not the addressee or the intended recipient please do not read this E-mail and please immediately delete this e-mail message and any attachments from your workstation or network mail system. If you are the addressee or the intended recipient and you save or print a copy of this E-mail, please place it in an appropriate file, depending on whether confidential information is contained in the message. _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
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.