Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> How to audit the execution of a proc
In the production environment, there is a proc that runs daily. It runs
successfully most of time but randomly fails with the following error
message.
ORA-06512: at "REPORTS.PA_1000_KOI_DM", line 699 ORA-06512: at "REPORTS.PA_1000_KOI_DM", line 39 ORA-06512: at line 4
************************************************************************
My manager asks me to add some display statement in the proc to see where the failure is. What could be the good practice to trace the failure point during an execution of a proc?
The database is Oracle 8i running on Sun Solaris 8. Any input will be highly appreciated.
-- "Conceal a flaw, and the world will imagine the worst." - Marcus Valerius MartialisReceived on Tue Apr 20 2004 - 12:24:34 CDT