Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Call Java method from RPG

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

  • Call Java method from RPG

    Hi, I have a business need to get data from systemB from systemA. I want to use JNI to achive this. My java code looks like this; class { method readFileAndSetVar() { Connect to AS400systemB using Native JDBC; Query physical File in AS400systemB; setVariables customer#, lbsReceived; } public String getCustomer(){ return customer#; } public float lbsReceived() { return lbsReceived; } How do I call this java class from RPG to "set" the variables FIRST & "get" the values AFTER that in the same program. Thanks for any help, Saci.
Working...
X