you do not need a continuation character in db2 .... Rather you need a termination character, which is defined in under 'Options' in Command Centre ... By default, the termination character is ;
from table1 ;
Visit the new-look IDUG Website , register to gain access to the excellent content.
In answer to your first question - how to print from a stored procedure, I believe that's not possible. Remeber that stored procedures/functions/routines are run on the backend/server - and the only form of input/output is parameters.
There is not way to "enable" serveroutput like in Oracle (or other RDBMSes).