#!/bin/ksh

cres=0
ret=0
        for SRV in `cat $ORATAB | sed '/^$/d' | grep -v "#" | awk -F: '{print $1}'| grep -v "*"`
        do
                echo "            ${SRV}"

                ${ORA_SRVBIN}/CSIORA_Base.ksh start ${SRV}

                ret=$? 
                cres=$(expr ${cres} + ${ret})
                if [ ${ret} -ne 0 ]
                then
                        echo "Probleme de demarrage pour le serveur : $SRV " 
                        echo "Verifer le bon demarrage du serveur : $SRV " 
                fi
        done

        echo "code retour = ${cres} "
        exit ${cres}
