PL/SQL (MOSC)

MOSC Banner

How to generate trace file using DBMS_Job option?

edited Oct 7, 2009 12:24AM in PL/SQL (MOSC) 4 commentsAnswered
I have one procedure in which I am setting autotrace on using DBMS_TRACE.set_plsql_trace or DBMS_SESSION.SET_SQL_TRACE(TRUE) or alter session command. I tried all these three options. If I execute these procedure using sql plus then it is properly generating trace file in udump folder.

Now I submitted a job in which I am calling this procedure.After submitting the job I am disconnecting sqlplus session. So in this case it is not generating the trace file.But the job(procedure) is running properly with regular intervals.

How to generate trace file using DBMS_Job option?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center