My Oracle Support Banner

SYS.DBMS_SCHEDULER.CREATE_JOB Encounters ORA-00904: ORA-06512: at "SYS.DBMS_ISCHED" ORA-06512: at "SYS.DBMS_SCHEDULER" (Doc ID 1163670.1)

Last updated on DECEMBER 19, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Generic (Platform Independent)
*** Checked for relevance 25-Sept-2014 ***
*** Checked for relevance 22-Mar-2016 ***

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

Error when attempting to create a job via DBMS_SCHEDULER:

SYS.DBMS_SCHEDULER.CREATE_JOB
(job_name => 'XXX.ACH_JOB',schedule_name => 'XXX.SUN0200',
program_name => 'XXX.ACH_PROG',
comments => NULL);

BEGIN SYS.DBMS_SCHEDULER.CREATE_JOB
(job_name => 'XXX.ACH_JOB',
schedule_name => 'XXX.SUN0200',
program

*
ERROR at line 1:
ORA-00904: : invalid identifier
ORA-06512: at "SYS.DBMS_ISCHED", line 99
ORA-06512: at "SYS.DBMS_SCHEDULER", line 319
ORA-06512: at line 1


Not able to run the ultrp.sql command without encountering an error.
Results of dba_registry showed that many components (especially CATPROC) were invalid.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.