Your script should start with :

create controlfile set database "TEST" ....
....

Why don't you upload your script which your are executing.