"ODI-17506: Variable has no value" Signalled When Running An ODI 11g Integration Interface (Doc ID 1595156.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 to 11.1.1.7.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

When using the Oracle Data Integrator (ODI) version 11.1.1.7.0 IKM SQL to File Append to load data to a flat file, we have noticed that if a column name of the target Datastore is identical to an ODI Variable name, then at runtime the generated code displays a binding variable referencing the ODI Project Variable and not the desired column.

It appears, therefore, that there is a collision between the Datastore column name and an identically named ODI Variable resulting in incorrect substitution at code generation time and the following error message:

oracle.odi.core.exception.OdiRuntimeException: java.lang.Exception: ODI-17506: Variable has no value: <Project.VariableName>
    at oracle.odi.query.VariableDwgBridgeImpl.getValue(VariableDwgBridgeImpl.java:35)
    at oracle.odi.query.OdiSQLTranslator.bindInputVariables(OdiSQLTranslator.java:85)
    ...

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