How can I set serveroutput on in a stored procedure? When I try it, I get:

PLS-00103: Encountered the symbol "SERVEROUTPUT" when expecting
one of the following:
transaction