Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> How to start jobs with status not running
I'm trying to restart jobs with status "NOT RUNNING" but can't seem
to.
SQL> select job_name, state from dba_datapump_jobs Where owner_name like 'INGRNET\%';
JOB_NAME STATE ------------------------------ ------------------------------ DAO291200721292 NOT RUNNING DAO29120072132548 NOT RUNNING
SQL> edit
Wrote file afiedt.buf
1 Declare job_no NUMBER;
2 BEGIN
3 job_no := DBMS_DATAPUMP.ATTACH('DAO291200721292');
4 DBMS_DATAPUMP.STOP_JOB(job_no);
5* END;
SQL> /
Declare job_no NUMBER;
*
ERROR at line 1:
ORA-39002: invalid operation
In worst case, I would like to purge these jobs. Any help is appreciated.
thanks
Sunit
Received on Mon Jan 29 2007 - 22:22:54 CST