#!/usr/bin/ksh HOSTNAME=`uname -n` SID=$1 if [ "x-$SID" = "x-" ];then echo " I need a Session ID. " exit fi . $SBIN/scripts/passwd.env . ${GET_PASSWD} $S_USER $ORACLE_SID if [ "x-$CONNECT_STRING" = "x-" ];then echo "could no get a the password of $S_USER" exit 0 fi RET=`sqlplus -s "$CONNECT_STRING" < 0 ; exit !EOF # echo "result in $FOUT"