Error 'PLS-00302: component 'DBCOMPATMAJOR' must be declared' While Trying to Compile Package SYS.DBMS_AQADM_SYS
(Doc ID 2422218.1)
Last updated on JANUARY 13, 2020
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud 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
Microsoft Windows x64 (64-bit)
Symptoms
The Package body is invalid for SYS.DBMS_AQADM_SYS and results in below error:
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06512: at line 25
ORA-06512: at line 17
ORA-06512: at "SYS.DBMS_AQADM", line 410
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM_SYSCALLS", line 879
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_AQADM_SYS"
While trying to recompile the package SYS.DBMS_AQADM_SYS, It gives error: PLS-00302: component 'DBCOMPATMAJOR' must be declared
Changes
SYS.DBMS_AQADM_SYS package is invalid and while trying to compile, it throws below error:
PLS-00302: component 'DBCOMPATMAJOR' must be declared
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 |
References |