Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Using ALERT in a ProC program

Re: Using ALERT in a ProC program

From: Pete Finnigan <oracle_list_at_peterfinnigan.demon.co.uk>
Date: Tue, 22 Jul 2003 11:25:56 +0100
Message-Id: <25988.338869@fatcity.com>


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:pete_at_petefinnigan.com
Web site: http://www.petefinnigan.com - Oracle security audit specialists
Book:Oracle security step-by-step Guide - see http://store.sans.org for details.
Received on Tue Jul 22 2003 - 05:25:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US