you are using sqlplus commands in plsql, cant do that unless you use execute immaediate