ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How can I convert a procedure definition that calls a java program to free format?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I convert a procedure definition that calls a java program to free format?

    I'd like to convert this to free format but I am having problems figuring out how.
    DgetNewRecepts PR O EXTPROC(*JAVA:
    D 'Receptionists.RECEPT4Import':
    D 'recept4Import' )
    D CLASS(*JAVA:'java.lang.String')
    D STATIC
    DEnvironment O CLASS(*JAVA:'java.lang.String')
    D CONST

    I tried this but it doesn't compile right:
    dcl-pr getNewRecepts object(*JAVA:'java.lang.String')
    EXTPROC(*JAVA:'Receptionists.RECEPT4Import':
    'recept4Import' ) Static;
    environment object(*JAVA:'java.lang.String') const;
    end-pr;

  • #2
    Re: How can I convert a procedure definition that calls a java program to free format

    I can't see anything wrong. What error message are you getting?

    Comment


    • #3
      Re: How can I convert a procedure definition that calls a java program to free format

      Thanks so much for your reply!! I think I found the problem which was not related to this procedure definition.

      Comment

      Working...
      X