Unable to find the replacement for DBMS_JOB.Broken command to make the job broken. Please assist me for the same. Command used in my code is
dbms_job.broken(oracle_job_num, true);
Have done the changes for the below commands which was used in our code.
DBMS_JOB.SUBMIT -> DBMS_SCHEDULER.CREATE_JOB
DBMS_JOB.REMOVE -> DBMS_SCHEDULER.DROP_JOB
I don’t think there is a specific api to mark a job as broken in dbms_scheduler but there is one to enable it again:
There is an api to change after how many failures a job will be disabled: