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.