There are two END IFs missing at the end of the script (before the closing END); if you had formatted the script, you'd see it much easier.
Furthermore, you should have used single quotes in DBMS_OUTPUT, not double ones.
Moreover, your script will fail when "SELECT Company INTO oCompany" returns nothing - it won't even get to "IF SQL%NOTFOUND" line but raise NO-DATA-FOUND exception - you should handle it.
There might be some other errors, but these were the ones I saw looking at this code.