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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Error in DBMS_JOB.SUBMIT

AbkSep 6 2010 — edited Sep 6 2010
Dear All,

I am getting erron when submitting job in oracle 9.2 database. pl help me to submit the job. job need to be executed on every day 5pm.

BEGIN
SYS.DBMS_JOB.SUBMIT
(
NOB => 12
,what => 'SYS.PR_STATUS;'
,next_date => 'trunc(sysdate)+1+(17*60)/(24*60)'
,interval => 'TRUNC(SYSDATE+1)'
);
END;

error Information
------------------------
Error starting at line 36 in command:
BEGIN
SYS.DBMS_JOB.SUBMIT
(
NOB => 12,
what => 'SYS.PR_STATUS;'
,next_date => 'trunc(sysdate)+(1020/1440)'
,interval => 'TRUNC(SYSDATE+1)'
);
END;
Error report:
ORA-06550: line 2, column 1:
PLS-00306: wrong number or types of arguments in call to 'SUBMIT'
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:


Thanks and regards,

Abk.
This post has been answered by 657203 on Sep 6 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2010
Added on Sep 6 2010
5 comments
2,188 views