I read the following shell script from "Oracle DBA 8i Handbook". Because my Unix knowleage is very limited, something I don't understand.
Script:
ORACLE_SID=CC1; export ORACLE_SID
ORAENV_ASK = NO; export ORAENV_ASK
. ORAENV
cd /orasw / dba /CC1
svrmgrl << EOF
connect internal
startup;
!sqlplus / @inserts
shutdown
EOF
Questions: What's meaning the following environment variable ?
ORAENV_ASK = NO;export ORAENV_ASK
. ORAENV
what's the EOF meaning?
[Edited by Rechard on 07-19-2001 at 08:49 PM]


Reply With Quote
Bookmarks