#!/bin/sh #################################################################### set_return() { x=$? if [ $x -ne 0 ]; then echo "EXIT CODE: $x" rval=1 fi } # Delete at first all unnecessary files: # /uf/SYS/RES/jcs/reorganize.sh
# su - oracle -c "/u01/app/oracle/product/8.0.6/bin/dbshut" su - oracle -c "/u01/app/oracle/product/8.0.6/bin/lsnrctl stop" set_return