ODI Substitution API 'getInfo("SRC_SCHEMA")' in KM Step Target Command Displays File Description if FILE Technology
(Doc ID 2628045.1)
Last updated on JANUARY 14, 2020
Applies to:Oracle Data Integrator - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
In Oracle Data Integrator (ODI) 220.127.116.11.0, a customized Knowledge Module (KM) loading data into a file target and having a step with <%=odiRef.getInfo("SRC_SCHEMA")%> returns the source schema correctly. However, it also returns the description of the target file in cases where the command is used in target. It is expected to only return the source schema.
The following is an example of what is seen, where only <SRC_SCHEMA_NAME> should be returned:
The issue can be reproduced at will with the following steps:
- Create a mapping with Oracle as source and file as target
- Create a customized IKM
- Add a step similar to the following:
target command: <%=odiRef.getInfo("SRC_SCHEMA")%>
- Execute the mapping in simulation mode with level 6
The issue only occurs when using <%=odiRef.getInfo("SRC_SCHEMA")%> as target command. When using in source command, only the Oracle schema is returned as expected.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document