Execute an Oracle stored procedure from a shell scrip

Here is a snippet of my code:
if [ $FileName != $File ]
then
echo "\n Deleting all reports older than 24 hours. \n" >> $logfile
ls -l $FileName >> $logfile
rm -f $FileName
$ORACLE_HOME/bin/sqlplus -s <<EOF > oracle.log
$DB_id/$DB_pswd@$DB_server
execute RemoveRptFiles($FileName)
EOF
fi

I am getting a syntax error when I add the Oracle connection code. Does anybody kknow what I am doing wrong?

$ORACLE_HOME/bin/sqlplus -s $DB_id/$DB_pswd@$DB_server<<EOF > oracle.log 
execute RemoveRptFiles($FileName) 
exit
EOF 
fi 

assuming you called RemoveRptFiles() correctly and the DB variables actually have correct values - that will work