110 pts.
 Need help using RUNRMTCMD
Greg is experimenting with the RUNRMTCMD on the AS/400 from a command line. He writes, "Can I run a VRPG exe on my local PC from the AS/400? If so, how? I keep getting a message CPE3447 'A remote host did not respond within the timeout period'. First, where can I get my local PC name? Second, how do I run the exe? Any ideas?" Let Greg know if you can help. -- Michelle Davidson, editor, Search400.com

Software/Hardware used:
ASKED: October 11, 2005  10:09 AM
UPDATED: November 15, 2009  3:22 AM

Answer Wiki:
There are contrls to set up in the iSeries Access applet in the Control Panel. Also, are the correct services started on the PC (e.g., RPC - Remote Procedure Call)?
Last Wiki Answer Submitted:  October 13, 2005  10:27 am  by  TheQuigs   0 pts.
All Answer Wiki Contributors:  TheQuigs   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

Make sure the iSeries Client Access software is installed on the Windows system, and make sure the iSeries Access for Windows Remote Command service is running.

If there is a firewall between your iSeries and the Windows box or if you are running WinXP with Windows Firewall enabled, you will need to make sure TCP port 512 (exec) is open. You should also setup a local user account on the Win system for authentication – enter RUNRMTCMD fomr the iSeries command line and prompt it to see available params… HTH

 0 pts.

 

A rexec() service must be active on the PC (or any target of an rexec() client like RUNRMTCMD.) The iSeries Access Remote Command service is a handy one.

The PC seems to be recognized, otherwise you’d see an error telling you that it was unknown. The timeout is from lack of response. Two common reasons — a firewall (or routing misconfiguration) is stopping any response traffic, perhaps because the request (or the response) was simply discarded or the target service isn’t active and so there is nothing listening for the request.

Tom

 110,135 pts.