×

Good News Everybody!

The new search engine is LIVE!

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




Make sure the service job is started "iSeries Access for windows remote
Command". Also under the properties/Log on tab, check "allow service to
interact with desktop"

What user/id and password are you using? Is it a valid userid/password for
the pc you are issueing the runrmtcmd agaist?




-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Thomas Garvey
Sent: Thursday, September 11, 2008 11:33 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: Any experience with RUNRMTCMD?

Anybody have experience with using the RUNRMTCMD command?

I'm trying to start the Adobe Acrobat Reader, and have it open a specific
pdf file stored in an IFS directory, but I keep getting the same results.
It waits about 1 minute before doing anything and then returns CPE3425 (A
remote host refused an attempted connect operation).

Now, I know the RMTLOCNAME is supposed to have the IP address of the PC I'm
trying to communicate with. So, I have included in my program the use of
the system API (QDCRDEVD) which returns the IP address of the device with
which I am communicating. I've tried the simplest of commands with the same
results.

Here's the latest attempt...
RUNRMTCMD CMD('notepad.exe') RMTLOCNAME('192.168.1.218' *IP)

Thanks for any suggestions.

Best Regards,

Thomas Garvey



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.