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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].