Hi,
Can anyone help me on the error message ? ; -)
recover.sh: line 18: syntax error: unexpected end of file
=============== =============== ====
Thanks & Regards,
Vinod Sadanandan
Oracle DBA
Can anyone help me on the error message ? ; -)
recover.sh: line 18: syntax error: unexpected end of file
=============== =============== ====
Code:
#!/usr/bin/sh HostName=`hostname` LOGDIR=$PWDLE_SID LOGFILE=$LOGDIR/${MYSID} num=0 while [$num -lt 10] do echo -n $num num='expr $num+1' sqlplus /nolog <<EOF conn / as sysdba recover datafile $num; exit done
Vinod Sadanandan
Oracle DBA
Comment