DBA Data[Home] [Help]

PACKAGE: ORACLE_OCM.MGMT_CONFIG_UTL

Source


1 PACKAGE            MGMT_CONFIG_UTL
2 AUTHID CURRENT_USER AS
3 /*
4 Create or replace the directory object to recreate the path based on
5 new ORACLE_HOME.
6 Note:
7   1. This procedure is executed with invoker's rights. This is needed so that
8      ORACLE_OCM user does not need to be granted "execute" permission on "dbms_system" package.
9      Only SYS would be able to run this procedure without error as it has the privilege to execute "dbms_system" and re-create
10      the directory object ORACLE_OCM_CONFIG_DIR owned by it.
11   2. This procedure is only supported from release 10.2 onwards that supports dbms_system.get_env.
12 */
13 procedure create_replace_dir_obj;
14 END MGMT_CONFIG_UTL;