× 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.



The defaults are in place on the Client Access Properties, Incoming Remote Command.

I think I am going to take Charles's advices and use the STRPCO/STRPCCMD commands. With these I have been able to run my test programs. Since RUNRMTCMD seems to be mainly for batch command I am probably better off not using it.

Thanks to everyone for your suggestions and help.

Thomas Hauber
Senior Programmer/Analyst
General Ribbon Corp.



DeLong, Eric wrote:
In this case, it seems this PC is a specialized print server. You're
probably better off with REXEC for this. In the past, we've had trouble
from REXEC for various reasons. Usually there's a firewall involved, but
many times it's simply the security options that were selected... Have you
looked in Client Access Properties (Control panel) on the Incoming Remote
Command tab?


Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863



-----Original Message-----
From: Thomas Hauber [mailto:thauber@xxxxxxxxxxxx]
Sent: Wednesday, September 08, 2004 1:10 PM
To: Midrange Systems Technical Discussion
Subject: Re: RUNRMTCMD


What I am attempting to do is have an RPG program issue commands to a PC to print PDF documents (product information sheets) from that PC. There is a standalone program called Batch & Print Pro which will do this for us.


The idea is that a user from a green screen will bring up an order which will show which items are to be packed and how many of those items. They can then just request that the appropriate product sheets print out.


Thomas Hauber Senior Programmer/Analyst General Ribbon Corp.



DeLong, Eric wrote:

Thomas,

If you're using IBM's Client Access products, you can use the STRPCO and
STRPCCMD to run commands on your PC.  I've often found it to be easier and
more reliable than the REXEC service.  This only works for interactive

jobs,

though.  Can you elaborate on what you're trying to accomplish?

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863



-----Original Message-----
From: Thomas Hauber [mailto:thauber@xxxxxxxxxxxx]
Sent: Wednesday, September 08, 2004 12:10 PM
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?



--
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 ...

Replies:

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.