0 pts.
 Send Commands between two ISeries Machines
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.

Software/Hardware used:
ASKED: June 13, 2006  4:32 PM
UPDATED: December 10, 2009  8:03 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  December 10, 2009  8:03 am  by  Oldwood   15 pts.
All Answer Wiki Contributors:  Oldwood   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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