`cat ${pid}_dbase_type1 | grep 'primary' > ${pid}_dbase_type2 if (test -s '${pid}_dbase_type2') then ASE_TYPE='PRIMARY' echo "Working on Primary ASE($ASE_SRVR.$ASE_DB)..." else echo "Working on Replicate ASE($ASE_SRVR.$ASE_DB)..."
fi
cat ${pid}_dbase_type1 primary`
Why does the IF Statement always go to Working on Replicate part, when it is suppose to go to Primary ?
Aucun commentaire:
Enregistrer un commentaire