when u've made the procedure u forgot to write
end; line at last
that's why u r getting this error , end-of-file....

put the end; on last and try

All the Best.

Rajesh Gumber.