In my haste to get the response to you I forgot to mention that you'll need to also do this:

set serveroutput on size 1000000

This will allow you to actually see the statements output by DBMS_OUTPUT.