Claus Pedersen
Member³
When viewing SQL for a job, the code looks like this:
The variable :job can of course not be used in a command prompt. Please could the :job variable be replaced by:
Thanks
Code:
begin
sys.dbms_job.submit(job => :job,
what => 'do_something',
next_date => to_date('15-05-2007 15:44:41', 'dd-mm-yyyy hh24:mi:ss'),
interval => 'sysdate + 1/(24*60)');
commit;
end;
/
Code:
declare
MyJob pls_integer;
begin
sys.dbms_job.submit(job => MyJob,
<...>