#!/bin/ksh

export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle/product/7.3.3
export ORACLE_SID=dojv
PATH=$PATH:~:$ORACLE_HOME/bin:/etc

svrmgrl command=@ewh ; # produces ewh.log

ewh.pl > ewh.htm

ftp -n -v 167.10.6.50 <<EOF
user  oracle ******
ascii
put ewh.htm dojv/ewh.htm
quit
EOF