Then you probably just want to first resolve the PROCESS START COMMAND
string, specifying the HANDLE on the VAR RESOLVE request. Then
use the result string as the COMMAND you are submitting to the remote
machine.
Or you can use a static handle for both the VAR SET and the PROCESS
START...
D
That's exactly what I'm trying to do: use variables for the calling handle
only (not shared or system variables), but the code you provided doesn't
work, it gives:
> Variable resolution failed for string: echo {First} {Second} {Third}
You are trying to resolve a variable that does not exist.
>
Th
It depends on exactly what you are trying to do. You can certainly use
VAR SET to remotely set variables (maybe you can point me to the STAF
documentation where that is not clear).
For example, I can set some variables on a remote system:
$ STAF remotemachine.company.com VAR SET VAR first=1st
try 'staf machine-ip-address ping ping', make sure there is no firewall
in the remote machine, if its there also make sure that you add allow
policy for this particular ip-address and port or just disable it and
try once again
if this also doesn't work try giving full permissions in STAF conf
The "remote ip" machine should have STAFProc running. Check firewall
settings on remote machine if it doesn't work. Try disabling it just
to make sure that it is not the culprit.
BTW, simply this also should work:
staf ping ping
Thanks,
-Nikunj
On Wed, May 7, 2008 at 3:49 PM, Anitha Shanmugasu
Hi
We are new to STAF and STAX V3
When we tried to establish the remote communication , it wasn't
successful, got the error RC 16 ( Communication error)
Just followed the tips given in the FAQs, but still unable to ping the
remote machine through STAF
Normal ping is working fine
Eg: ping machin
Hi
We are new to STAF and STAX V3
When we tried to establish the remote communication , it wasn't
successful, got the error RC 16 ( Communication error)
Just followed the tips given in the FAQs, but still unable to ping the
remote machine through STAF
Normal ping is working fine
Eg: ping machin