DEFINE EM_SQL_ROOT   = &1;
DEFINE PATCH_HOME    = &3;
DEFINE ORACLE_HOME   = &2;
DEFINE PLUGIN_HOME   = &4;
DEFINE EM_REPOS_USER = SYSMAN;
DEFINE EM_VIEW_USER = MGMT_VIEW;
DEFINE EM_TYPES_USER = SYSMAN_TYPES;
DEFINE EM_READONLY_USER = SYSMAN_RO;
DEFINE EM_ZDT_USER = SYSMAN_ZDTUSER;
DEFINE EM_REPOS_ADMINUSER = &4;
ALTER SESSION SET CURRENT_SCHEMA = SYS;
ALTER SESSION SET CURRENT_SCHEMA = SYSMAN;
@&ORACLE_HOME/sysman/admin/emdrep/sql/emregistry/24.1.0.v/24.1.0.1/em_ne_synonyms_cutover_schema_upgrade.sql
@&ORACLE_HOME/sysman/admin/emdrep/sql/emregistry/24.1.0.v/24.1.0.1/em_ne_synonyms_cutover_schema_upgrade_ev.sql
@&ORACLE_HOME/sysman/admin/emdrep/sql/admin_cutover_synonym_to_ne.sql SYSMAN
@&ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid SYSMAN
@&ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid SYSMAN_RO
@&ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid MGMT_VIEW
@&ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid SYSMAN_ZDTUSER
