It doesnt execute the anonymous block. it doesnt even execute the SELECT sysdate as endtime from dual;
statement at the end of the script. However it does execute the
"SELECT sysdate as starttime from dual" statement at the beginning of the script which proves that sqlplus is recognozing commands from within the here document.