http://staf.sourceforge.net/current/STAFUG.htm#HDRTRACESRV
staf local trace set destination to file
staf local trace enable all tracepoints
staf local trace enable all services
there will be a ton of info though, so good luck w/ that.
to make these persistent across restarts, you'll have t
ok, from the documentation, you can see that you can choose to limit the
tracepoints to be ServiceRequest / ServiceResults
"staf local trace enable tracepoints ServiceRequest ServiceResult"
that should be slightly more managable.
Mike
From: Edmo
The STAX User's Guide has some examples on how to check the return code
(and returned files) when a completes:
http://staf.sourceforge.net/current/STAX/staxug.html#Header_Process
For example:
In the following example of a process element, a command which writes to
stdout and stderr and produc
Hi, all:
As title, how can I do that?
Thanks,
Homer
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a
I tried with following but didn't get the expected result. Is there
anything wrong I am doing?
# fill in @machines
use strict;
use Data::Dumper;
use lib qw( ... ); # Path to PLSTAF
use PLSTAF;
my $name = "test";
&STAF::Register($name);
my $requests = 0;
my $command = "notepad";
my $re
you'll need a space " " between the wrapped command and the ASYNC
keyword like ." ASYNC ..."
and if someone isn't manually closing notepad, you're going to have to
programmatically do it:
submit(..., "PROCESS", "STOP HANDLE $request USING WM_CLOSE");
so that it will end
Yes, if the DIRECTORY or TODIRECTORY value in a FS COPY request contains
spaces, you should use the STAFUtil.wrapData() function to put them in a
colonLengthColon format. For example:
from com.ibm.staf import STAFUtil
source_ip
'FS'
'COPY DIRECTORY %s TODIRECTORY %s TOMAC
At a minimum, you're going to want a "WAIT" added to your "QUEUE GET"
request. Without the "WAIT", the "GET" request will return immediately
(indicating that there was no element -- you can check the RC for that)
with no data.
Charles Rankin
From:
"Avijit Roy" <[EMAIL PROTECTED]>
To:
"Edmo
Yes, you're doing several things wrong:
1) First, you didn't fill in @machines with your machines. The previous
poster had a comment in the sample code that you needed to do this. Here's
some updated code you can run. It sets my @machines = ( 'local', 'local'
); This means it will submit the
Thanks to both of you Sharon and Edmonds for the details you guys
provided. I can now see the response.
Thanks, Avi
From: Sharon Lucas [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2008 1:57 PM
To: Avijit Roy
Cc: staf-users@lists.sourceforge.net
Subj
10 matches
Mail list logo