PLS-00201: identifier 'DBMS_RANDOM' must be declared When Compiling Invalid Data Mining Objects (Doc ID 727867.1)

Last updated on MAY 12, 2017

Applies to:

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

Symptoms

The Following DMSYS objects are invalid:

ODM_MODEL_UTIL
DMP_SYS
DBMS_PREDICTIVE_ANALYTICS
DBMS_JDM_INTERNAL

Recompiling those package body return the following:

SQL> alter PACKAGE DMSYS.DBMS_PREDICTIVE_ANALYTICS compile body;

Warning: Package Body altered with compilation errors.

SQL> show errors
Errors for PACKAGE BODY DMSYS.DBMS_PREDICTIVE_ANALYTICS:

LINE/COL ERROR
-------- -----------------------------------------------------------------
81/5 PL/SQL: Statement ignored
81/31 PLS-00201: identifier 'DBMS_RANDOM' must be declared

 

Changes

The grant execute on DBMS_RANDOM to public have been revoked

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