× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"When the command is sent to the remote system, the local system waits
for the command to complete and the output from the remote command will
be sent back to the local system and placed in a spooled file."

Does RUNRMTCMD work with a GUI program? Never tried it...in any case, is
a spooled file generated?


> -------- Original Message --------
> Subject: Re: RUNRMTCMD
> From: "Thomas Hauber" <thauber@xxxxxxxxxxxx>
> Date: Wed, September 08, 2004 1:58 pm
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
> 
> I have been trying the following command simply as a test.  From a PC 
> command line this works, it does not work however from the iSeries using 
> RUNRMTCMD.
> 
> c:\winnt\system32\calc.exe
> 
> The command from the iSeries is:
> 
> RUNRMTCMD CMD('c:\winnt\system32\calc.exe') RMTLOCNAME('192.168.100.135' 
> *IP) RMTUSER('thauber') RMTPWD() WAITTIME(10)
> 
> The correct password is being entered in RMTPWD parameter in quotes to 
> avoid any problems with case.
> 
> 
> 
> 
> 
> 
> Thomas Hauber
> Senior Programmer/Analyst
> General Ribbon Corp.
> 
> 
> 
> Booth Martin wrote:
> > The PC Application will run from the PC's Run command with the RUNRMTCMD
> > command?  
> > 
> >  
> > 
> > ---------------------------------
> > 
> > Booth Martin
> > 
> > http://www.martinvt.com
> > 
> > ---------------------------------
> > 
> > -------Original Message-------
> > 
> >  
> > 
> > From: Midrange Systems Technical Discussion
> > 
> > Date: 09/08/04 12:16:31
> > 
> > To: midrange-l@xxxxxxxxxxxx
> > 
> > Subject: RUNRMTCMD
> > 
> >  
> > 
> > I am attempting to write some code that executes some PC commands from
> > 
> > an AS400 program.  But I am having some difficulty troubleshooting
> > 
> > iSeries Access for Windows RUNRMTCMD.
> > 
> >  
> > 
> > REXEC TcpIp server is running.  The Windows service is running.  However
> > 
> > when I issue the command from the iSeries all it does is just hang.  No
> > 
> > timeout, no error message and no log entries in the QTRXC... jobs.
> > 
> >  
> > 
> > Can anyone suggest where I might look to track down my problem?  Is
> > 
> > there logging on the PC?
> > 
> >  
> > 
> > --
> > 
> > Thomas Hauber
> > 
> > Senior Programmer/Analyst
> > 
> > General Ribbon Corp.
> > --
> > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> > To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> > or email: MIDRANGE-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/midrange-l.
> > 
> 
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> 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-Ups:

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

This mailing list archive is Copyright 1997-2024 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.