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: bda...@us.ibm.com         
 WPLC                                                                      
                                                                           
                                                                           






                                                                                
                                         
  From:       "Uma Maheswar Chilukuri" <u...@mach.com>                          
                                         
                                                                                
                                         
  To:         "Sai Ram Purandhar-B22305" <b22...@freescale.com>, 
<staf-users@lists.sourceforge.net>                      
                                                                                
                                         
  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:b22...@freescale.com]
Sent: Friday, February 26, 2010 12:53 PM
To: Uma Maheswar Chilukuri; staf-users@lists.sourceforge.net
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:u...@mach.com]
Sent: Friday, February 26, 2010 11:39 AM
To: staf-users@lists.sourceforge.net
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&#174; 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
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

<<inline: 2F321798.gif>>

------------------------------------------------------------------------------
Download Intel&#174; 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
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to