Ora-27477 While Creating a Job Through the Job Scheduler (Doc ID 390732.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.


Symptoms

When you are trying to create a Job using the Job scheduler:

BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'DAILY_ACCOUNT_INFO'
,job_type => 'PLSQL_BLOCK'
,job_action => 'begin REF_ADMIN.DAILY_ACCOUNT_INFO(); end;'
,schedule_name => 'MID_NIGHT'
,enabled => FALSE
,comments => 'creates a daily listing of pptl and tag deposit at midnight'
);
END;


While executing it you get the following error:

BEGIN
*
ERROR at line 1:
ORA-27477: "REF_ADMIN.DAILY_ACCOUNT_INFO" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 99
ORA-06512: at "SYS.DBMS_SCHEDULER", line 348
ORA-06512: at line 2

Changes

Creating a job through the Job scheduler

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms