-
Dbms_job.submit
Hi
I'm trying to use the DBMS_JOB.SUMIT and i get an error.
here is what I'm doing:
I created a procedure called p2 and trying to call it in the what section of the submit
variable jobno number;
begin
dbms_job.submit
(
jobno => :jobno,
what => 'p2;',
next_date => NEXT_DAY(TRUNC(SYSDATE), 'MONDAY') + 6/24
);
commit;
END;
/
and i get the following>>
Bind variable "JOBNO" not declared.
Any help would be great.
-
dont worry i figured out what i was doing. Probably too much of drinks from last night stopped my brains thinking.
kewl
-
Hi.
It's helpful if you post the solution so others can benefit :)
I believe the problem was you listed a parameter called "jobno" when the parameter is actually "job".
Cheers
Tim...