Send Commands between two ISeries Machines

pts.
Tags:
DataCenter
RPGLE
Is there a way to send commands between two ISeries to call programs and responses to eachother. What I am trying to figure is how to call a program on another machine, and also send data to that machine that it needs to process. What we have is our main system and a backup system. I would like to have information processed on the backup in order to save the resources on the main machine. And when that program is done it can inform the user when that process is complete. Any information would be helpful. If anyone needs more info let me know and I can get it for you.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello!
Try to use the command RUNRMTCMD. Useful in many ways.
Hope this helps.

===================================================

RUNRMTCMD over *IP will return a spooled file that can indicate response from the remote system.

However, three other methods can be far more useful.

Stored procedures are one common way of issuing remote program calls that can return values through parameter. Also, the EDRS APIs include a remote program call that can return parameters. And the Remote Command/Distributed Program Call host server can also be accessed between two systems — a PC is not required to talk to the server.

There are still other methods, but those are ones that can be most easily figured out.

Tom

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jadima
    There are several ways to accomplish this. You can use the RUNRMTCMD or the SBMRMTCMD. You can write your own program using FTP and do the transfer of the data and execute the wanted program to process the data and afterwards send a message to the originator. It can be done using *SNA or *IP - whatever you like. If more info needed, just send me a mail. BR.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following