|
I had wanted to use RUNRMCMD, but the restriction of user id of 10 long
would not work. That's why I went with rexec.
When I do use RUNRMTCMD, I have to make sure the ibm remote service job is
running on the pc I issue the command to. Im not sure if that is why its not
working.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Tuesday, January 18, 2011 8:03 AM
To: Midrange Systems Technical Discussion
Subject: REXEC (RUNRMTCMD) between IBM i systems
I've noted with interest the discussions here about REXEC, and I did
some experimenting. I was able to execute a RUNRMTCMD on one IBM i
pointing to another using *IP, but it never seems to execute on the
target machine. I tried something simple: WRKACTJOB, both OUTPUT(*) and
OUTPUT(*PRINT). If I don't have the REXEC server running, the command
fails on the source machine (as I would expect), but when I start the
REXEC server the commands completes on the source machine but I never
see anything on the target machine that I can find. No spooled files, no
job logs, no entries in QHST. I look at the various QTRXC jobs on the
target machine and I don't see anything that even makes it look like
they are receiving or processing a request.
Am I just trying something that won't work? It seemed like a simple way
to execute a command on another machine.
Joe
--
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.