Hi,
I have a dbms_job set up to run every sysdate+(1/24)/25 interval. However, it does not get picked up automatically, even when the scheduled time (next_date and next_sec) have gone by. However, if I manually execute the job, then it completes successfully. Looking at the alert log, I find that for every unsuccessful execution there is an entry :
*** SESSION ID
8.23195) 2003-03-27 11:23:35.741
*** 2003-03-27 11:23:35.741
ORA-12012: error on auto execute of job 30
ORA-12154: TNS:could not resolve service name
ORA-06512: at "CCBASC.My_PROGRAM", line 100
ORA-12154: TNS:could not resolve service name
ORA-06512: at line 1
I am puzzled by this. Any ideas?
If it could not resolve the service name, then why does it get successfully executed when dbms_job is executed manually?
-Anukta
I have a dbms_job set up to run every sysdate+(1/24)/25 interval. However, it does not get picked up automatically, even when the scheduled time (next_date and next_sec) have gone by. However, if I manually execute the job, then it completes successfully. Looking at the alert log, I find that for every unsuccessful execution there is an entry :
*** SESSION ID
*** 2003-03-27 11:23:35.741
ORA-12012: error on auto execute of job 30
ORA-12154: TNS:could not resolve service name
ORA-06512: at "CCBASC.My_PROGRAM", line 100
ORA-12154: TNS:could not resolve service name
ORA-06512: at line 1
I am puzzled by this. Any ideas?
If it could not resolve the service name, then why does it get successfully executed when dbms_job is executed manually?
-Anukta