ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Calling Java programs from RPGILE without using Prototyping

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling Java programs from RPGILE without using Prototyping

    Hi,

    Is it possible to call Java programs from RPGILE program without Prototyping the java methods and classes in the RPGILE prgram? That is, can we make a call simply by using a single call statement in the RPGILE program and have the capability to pass as well as receive back parameters from the Java to the RPGILE program?

    Thanks,
    Subha.

  • #2
    Re: Calling Java programs from RPGILE without using Prototyping

    You can call a java program by using QCMDEXEC or even the prototype of the System command. You can pass the parameters in via the main of the java program.
    However, I dont think there is a way to return parameters directly using this method. You could always write the results to a file though.
    Last edited by kpmac; April 17, 2006, 09:52 AM.
    Predictions are usually difficult, especially about the future. ~Yogi Berra

    Vertical Software Systems
    VSS.biz

    Comment

    Working...
    X