How to enable a program in oracle job schedular?
<p>Here is my code. When I am executing  execute</p>

<pre><code>dbms_scheduler.run_job('daily_update_job_v1'); 
</code></pre>

<p>getting the following error </p>

<blockquote>
  <p>ORA-27367: program ".PROG_RESET_LOG_STATUS_V1" associated with this
  job is disabled .</p>
</blockquote>

<p>Any help on the following issue . Thanks</p>

<pre><code>CREATE OR REPLACE PROCEDURE reset_log_status_v1 ( LOG_STATUS  IN   
VARCHAR2) IS
BEGIN
 UPDATE (
      SELECT
            B.LOG_STATUS 

    FROM    LP_QUAT_ISSUE_MST A,
            LP_QUAT_ISSUE_DTL B
    WHERE   A.QUAT_NO = B.QUAT_NO 
    AND     (trunc(A.QUAT_DT) + A.NO_DAY_GIVEN) &lt;= trunc(SYSDATE)
)   
SET LOG_STATUS ='N';
END;

BEGIN
DBMS_SCHEDULER.CREATE_PROGRAM (
program_name      =&gt; 'PROG_RESET_LOG_STATUS_V1',
program_action     =&gt; 'RESET_LOG_STATUS_V1',
program_type      =&gt; 'STORED_PROCEDURE');
END;


BEGIN
DBMS_SCHEDULER.CREATE_SCHEDULE (
 schedule_name   =&gt; 'daily_update_v1',
 start_date    =&gt; SYSTIMESTAMP,
 repeat_interval  =&gt; 'FREQ=DAILY; INTERVAL=1',
 end_date     =&gt; SYSTIMESTAMP + INTERVAL '365' day,
 comments     =&gt; 'DAILY UPDATE');
END;


BEGIN
DBMS_SCHEDULER.CREATE_JOB (
  job_name     =&gt; 'daily_update_job_v1',
  program_name   =&gt; 'PROG_RESET_LOG_STATUS_V1',
  schedule_name   =&gt; 'daily_update_v1'
  );
END;

execute dbms_scheduler.run_job('daily_update_job_v1');
</code></pre>