+ Reply to Thread
Results 1 to 9 of 9

Thread: TCP RunRmtCmd

  1. #1
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    I have having some problems with the RunRmtCmd. I have 3 AS/400 two with V4R4 and one with V4R2. I try to run the remote cmd between the v4r4 and have no problems. But if I try to run the V4r4 to the v4r2 machine, I get an error message Here is the syntax and the error message RUNRMTCMD CMD(WRKACTJOB) RMTLOCNAME(TNAS400D *IP) RMTUSER(USER) RMTPWD (Password) A remote host refused an attempted connect operation. Command did not complete successfully. Can someone help please. thanks

  2. #2
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    This is a shot in the dark, but are you sure that the user id and password exist (spelled correctly and all) on the AS/400 that gives you the refused connection error?

  3. #3
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    Thanks for your response. I checked the userid and password again. They are correct. Anyother suggestions.

  4. Default TCP RunRmtCmd

    I know that you said the password and user id are spelled correctly, but did you check to see if the user id is enabled and the password is not expired?

  5. #5
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    I am signed on to the other system with the user Id I am using for the Runrmtcmd... I get a spool file that has Connection refused. Msg thanks

  6. #6
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    have you check the system value of the target machine System value . . . . . : QRMTSIGN Description . . . . . : Remote sign-on control Remote sign-on control . . . . . : *FRCSIGNON *FRCSIGNON *SAMEPRF *REJECT *VERIFY George

  7. #7
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    How many characters in user ID and password you're using? Another shot in the dark, but you might try running it with an 8-character user ID and password that is long enough to satisfy the remote host's system values, but not longer than 8 characters. Although that doesn't explain why you'd be fine between V4R4 but not back to V4R2. Are you using the same user ID and password on all machines? Be interested to hear your final solution, since I'm sure it'll help others of us in the future. Thanks.

  8. #8
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    The problem is most likely that you do not have the TCPIP Remote Command Service running on the target server. On the target, type: STRTCPSVR *REXEC This will start that service. Then try the RUNRMTCMD again. Hope this helps. Marc Ornstein MAG Technical Resources, Inc.

  9. #9
    Guest.Visitor Guest

    Default TCP RunRmtCmd

    Confirm there is an entry in the configuration list for the remote system. WRKCFGL

+ Reply to Thread

Similar Threads

  1. runrmtcmd on XP
    By elassiter@coresource.com in forum Microsoft
    Replies: 8
    Last Post: 02-02-2011, 04:04 AM
  2. runrmtcmd notepad - yes; runrmtcmd - winword - no. Why?
    By Guest.Visitor in forum Programming
    Replies: 7
    Last Post: 10-18-2000, 04:01 PM
  3. RUNRMTCMD and
    By Guest.Visitor in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM
  4. RUNRMTCMD
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts