Hi Gyuri, Why not dispense with the dbms_output in main() and simply use printf or fprintf? If you want to keep it then you need to call dbms_output.enable(1000000); before you call put_line, i have found that you also need to call dbms_output.disable; first before the enable (never found out why?).
Also in your fAlertWatch function you use printf(buff) to print out the buffer in the case of a timeout but when you receive a message you use sprintf to format your buffer but then don't print it out?. hth kind regards Pete -- Pete Finnigan email:[EMAIL PROTECTED] Web site: http://www.petefinnigan.com - Oracle security audit specialists Book:Oracle security step-by-step Guide - see http://store.sans.org for details. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Pete Finnigan INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).