#!/usr/bin/ksh # set -xv # B. Polarski # 23 May 2005 WK_SBIN=$SBIN/module2/s1 HOST=`hostname` HOST=`echo $HOST | awk '{ printf ("%-+15.15s",$1) }'` cd $WK_SBIN # -------------------------------------------------------------------------- . $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 # -------------------------------------------------------------------------- sqlplus -s "$CONNECT_STRING" <