Now I am getting the 'then' unmatched again.
Here is exactly what the statement looks like:
if [ "$all_recs" = "NEW" ]
then
# Flush the staging table
echo "=== Cleaning the staging table..."
sqlplus -s $connect_string > /dev/null << EOF
begin
iws_clean_staging_pkg.iws_clean_staging_prc;
end;
/
EOF
fi;
Is there a man entry for the if statement? If so, what keyword is it under?
Thanks,
Amber Taylor