'PLS-00201: Identifier GET_MODEL_NAME Must Be Declared' Error When Running an ODI Mapping That Has Been Migrated From OWB

(Doc ID 2036794.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version and later
Oracle Warehouse Builder - Version and later
Information in this document applies to any platform.


In an OWB mapping the get_model_name variable is used in a pre-mapping to get the mapping name loaded into the target. When OWB generates PL/SQL, this variable get_model_name is substituted by the mapping name as expected. 

This works fine in OWB. However, after migrating the mapping to ODI, running the map in ODI fails with:

It happens because the variable get_model_name is not substituted by the actual mapping name on runtime.


 Migration of OWB to ODI.


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