Home » SQL & PL/SQL » SQL & PL/SQL » error running a job
error running a job [message #8834] Mon, 29 September 2003 10:53 Go to next message
Dave
Messages: 92
Registered: August 1999
Member
Using Oracle 9 I created a job as follows.

DECLARE jobno number;
BEGIN
DBMS_JOB.SUBMIT(jobno,
'ACEMAN.PDA_INSERT.ACEMAN_PDA_DATA_INSERT;',
sysdate,'sysdate + 1/48');

COMMIT;
END;

When I run it I get the following error:
ORA-12011:execution of job failed
ORA-06512: at "SYS.DBMS_IJOB",line 406
ORA-06512: at "SYS.DBMS_JOB",line 272
ORA-06512: at line 2

But when I check the tables I see that the procedure that is called ran fine.

Any help would be appreciated.
Re: error running a job [message #8838 is a reply to message #8834] Mon, 29 September 2003 14:59 Go to previous message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
Try submitting the job as the schema owner who owns this procedure.
Previous Topic: Can I call a Operating system command from a PL/SQL block
Next Topic: How do I use multiple parameters in a procedure call?
Goto Forum:
  


Current Time: Wed Apr 24 19:32:18 CDT 2024