Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Trace file is not generated in scheduler job

749809Jan 28 2010 — edited Jan 28 2010
Is there any reason why trace file is not generated when using this command ?

begin
DBMS_SCHEDULER.CREATE_JOB(
job_name => 'COLCO_TEST',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DBMS_SESSION.SESSION_TRACE_ENABLE(TRUE, TRUE); END;',
enabled => TRUE,
start_date => NULL
);
end;
/

Job runs successfully but no trace file is generated.
If DBMS_SESSION.SESSION_TRACE_ENABLE(TRUE, TRUE); is called in sqlplus trace file is generated.

Any ideas ?

Thanks
This post has been answered by Anurag Tibrewal on Jan 28 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2010
Added on Jan 28 2010
14 comments
2,948 views