I am working on Oracle 11gR1
I have to call a procedure which accepts a CLOB as input parameter through a DBMS_JOB.SUBMIT procedure.
Here is my code for the same:
FOR i IN 1 .. lrec_resultset.COUNT LOOP
DBMS_JOB.SUBMIT (
JOB => job_num,
WHAT => 'execute_dsql('' ||lrec_resultset(i).sql_txt || '');');
COMMIT:
END LOOP;
The call to execute_dsql is not being made. I am not even getting any error message when I execute my PL/SQL block which contains this DBMS_JOB call.
Can someone point me in the right direction?
I'd do something like this: