Date: Thu, 13 Mar 2003 14:10:13 -0800
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Cassell" <cassell.david@EPAMAIL.EPA.GOV>
Subject: Re: exec win2k resource utilities
Content-type: text/plain; charset=us-ascii
fernd alois <ferndalois@HOTMAIL.COM> wrote:
> I use some win2k resourcekit utilities on the sas win2k server to get
> knowledge about the processes , used memory ea
> This goes by the mechanism
> filename test pipe "pslist.exe SAS" ;
> data _null_ ;
> infile .....
> With some resource kit utilities utilities I get no answer ; I think
> because these utilities use stderr and not stdout
> Is there a way to read the stderr output from the pipe by using
> the unix symbols > & 2 or by another way ?
As a SAS-L expert pointed out, this is a shell issue, and win32 doesn't
have the sort of shells available in unix.
Instead, you could use a language like Perl or Python to run the
grab the stderr, and then hold that information so that you could use
FILENAME to pipe that to SAS.
David Cassell, CSC
Senior computing specialist