My Oracle Support Banner

Error 'PLS-00302: component 'DBCOMPATMAJOR' must be declared' While Trying to Compile Package SYS.DBMS_AQADM_SYS (Doc ID 2422218.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 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!


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