Invalid SYS.DBMS_ODM After Upgrade To 10G (Doc ID 1080462.1)

Last updated on APRIL 27, 2012

Applies to:

Oracle OLAP - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

Symptoms


You upgraded from 9i  to 10g and you now have invalid sys.DBMS_ODM package body.


alter package sys.DBMS_ODM compile body;

Warning: Package Body altered with compilation errors.

SQL> show error
Errors for PACKAGE BODY SYS.DBMS_ODM:

0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00304: cannot compile body of 'DBMS_ODM' without its
specification

Package has no body in SYS

BUT :
select owner, object_name, object_type, status
f rom dba_objects
where object_name = 'DBMS_ODM';

returns the following:

SYS DBMS_ODM PACKAGE BODY INVALID
PUBLIC DBMS_ODM SYNONYM VALID
OLAPSYS DBMS_ODM PACKAGE VALID
OLAPSYS DBMS_ODM PACKAGE BODY VALID

Changes

Upgraded your database. This could also occur with new installation.

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