All too frequently we see people asking why they are not seeing their “output” in their code.
The attached PDF document details the DBMS_OUTPUT package and explains what is going on in the database, and why DBMS_OUTPUT is not necessarily the best thing to be using for your “output”.
PLSQL 101 - DBMS_OUTPUT.pdf