No, that is not possible. The STDOUT/STDERR files are always created on the remote system where the process is executing.
Thanks,
David
David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315
STAF/STAX Development Bldg. 903-5B002 (363-5315)
Austin, TX ITN: 23635315
IBM Software Group, 78758-3400 Email: [email protected]
WPLC
From: "Uma Maheswar Chilukuri" <[email protected]>
To: "Sai Ram Purandhar-B22305" <[email protected]>,
<[email protected]>
Date: 02/26/2010 01:43 AM
Subject: Re: [staf-users] PROCESS service output to file
Hi Sairam,
STDOUT can be caputired in $rootObject->{fileList}[0]{data} of
$STAF::Result.
For my purpose I can write this into file separately but What I’m looking
for is to specify this in the command request itself ,so that STDOUT <file>
is created on the issuing system instead of remote system.
Thanks
Uma.
MACH_inline_tagged_low-resi
From: Sai Ram Purandhar-B22305 [mailto:[email protected]]
Sent: Friday, February 26, 2010 12:53 PM
To: Uma Maheswar Chilukuri; [email protected]
Subject: RE: [staf-users] PROCESS service output to file
Hi Mahesh,
Using STAX, you can surely do that. Whatever command you issue in STAX, you
get the output into a variable like STAFResult.
Thanks,
Sairam
From: Uma Maheswar Chilukuri [mailto:[email protected]]
Sent: Friday, February 26, 2010 11:39 AM
To: [email protected]
Subject: [staf-users] PROCESS service output to file
Hi,
Is there a way to get the output of a shell request in a file on the system
where request has been issued instead of creating a file on system where
shell command is executed.
STAF <remotemachine> PROCESS START SHELL COMMAND "ls -l " STDOUT
<outputfile> returnstdout stderrtostdout wait
Above command creates “output file” on remote machine not on the system
where this request has been issued
Is there a way to do this instead of capturing stdout result from
marshaled buffer and writing that to file?
Thanks,
Uma
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
<<inline: 2F321798.gif>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
