A simple method would be to put the whole PL/SQL into a script and add the SET commands at the top of the procedure.

If you are wanting to store the procedure in the database this isn't a viable method.