|
Thanks to everyone for your suggestions and help.
Thomas Hauber Senior Programmer/Analyst General Ribbon Corp.
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 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.