×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Does the machine you want to run this command on have rexecd running?  This
daemon has to be running in order for the machine to accept incoming
requests.


Tom
 |  -----Original Message-----
 |  From: Angela Wawrzaszek [mailto:awawrzaszek@nucorauburn.com]
 |  Sent: Thursday, March 21, 2002 09:51
 |  To: Midrange Mail List (E-mail)
 |  Subject: RUNRMTCMD/STRPCO
 |
 |
 |
 |        I am trying to start an executable program on another
 |  server from the AS/400.   I tried using strpco however it
 |  does not like this and I am assuming it is because we are
 |  not executing the as/400  CL from that PC.    I would like
 |  to have this CL on a user(s) menu so that is can be
 |  executed whenever  and  it will also be submitted on a job
 |  sceduler.    I then tried running the command by using
 |  runrmtcmd within the CL.   It is telling me host refused an
 |  attempted connect operation.   I am able to browse this
 |  server from my PC so I would think that means I am authorized.
 |
 |  Error Message:
 |
 |    2816 - RUNRMTCMD CMD('"\\CNYNUCOR002\DNB EMAILER\DNB.EXE"
 |  DNB-BATCH')
 |    RMTLOCNAME('192.168.0.196' *IP) RMTUSER(MCLOUGHLIN) RMTPWD()
 |  A remote host refused an attempted connect operation.
 |  Command did not complete successfully.
 |  CPF91CC received by ACR@296CL at 2816. (C D I R)
 |  C
 |
 |
 |
 |
 |
 |
 |
 |     CHGVAR     VAR(&CMD) VALUE('"\\CNYNUCOR002\DNB +
 |                  EMAILER\DNB.EXE" DNB-BATCH')
 |
 |    OVRPRTF    FILE(*PRTF) OUTQ(QEZDEBUG)
 |    RUNRMTCMD  CMD(&CMD) RMTLOCNAME('192.168.0.196' *IP) +
 |                 RMTUSER(MCLOUGHLIN) RMTPWD(XXXXXXXXX)
 |    DLTOVR     FILE(*PRTF)
 |
 |  _______________________________________________
 |  This is the Midrange Systems Technical Discussion
 |  (MIDRANGE-L) mailing list
 |  To post a message email: MIDRANGE-L@midrange.com
 |  To subscribe, unsubscribe, or change list options,
 |  visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
 |  or email: MIDRANGE-L-request@midrange.com
 |  Before posting, please take a moment to review the archives
 |  at http://archive.midrange.com/midrange-l.
 |


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.