how to redirect stderr from top with csh

Hello all
im trying to use top program in my csh shell
like this :
set topResult = `top | grep server.exe`

but im facing 2 problems
1.when the top program dont installed in the machine im getting error
so can i check in csh if application im using exist

2 the top program gives me stderr and stdout i like to redirect the sdterr to null
and keep only the stdout in the variable

thanks

Well, this page says that you can't really do that in csh. And that you should stop writing scripts in csh and move on to sh or ksh.

hi thanks for the reply
i know this page but still i need to find some kind of solution (there is always some solution )
im working on csh because the work force me to