Skip to content

November 20, 2009
by Cezar Santos
27 Comments

Categories: Architecture , How to , Logic , ODI , Tips and Tricks

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Single Post View


Procedures (or KM) Steps – Source and Target tab’s

Hi All,

There is some time that I don’t write a post, it’s because of the amount of work… too much clients, too much process… but all is perfect! I mean, work needs to exists because then it’s necessary people to do it! 😉

OK, today we are going to talk about those two tab’s at procedure step:

  • Source Tab
  • Target Tab

Obs.: When I say “Procedure Step” I mean “Procedure or KM Step” once this objects are almost the same but this is subject for another post.

Because of the interfaces, that has source and target tables, a obvious association is done and that is right. The difference is:

  • Interface:
    • Has Source and Target Table in generic way, KM’s are necessary to define how to push data from source to target normally in several steps
  • Source and Target Tab’s at Procedure Step:
    • It’s a single action (commands) between a defined source technology and a defined target technology

Before go to examples, a last information:

The most interesting and powerful characteristic of these tab’s is the ability of:

  • When a SQL query (select..) is executed in Source tab, the code wrote at Target tab will be executed once to each returned record from the SQL query

 

After theory and definitions, examples!

  • LKM SQL to SQL
    • This is the most classical example of functionality and interaction between the tab’s once, after create the C$, it transfers every single record from the query in the source to a “insert” command into target tab (Step 31 – Load Data) 
Code at sorce tab - LKM SQL to SQL

Code at sorce tab - LKM SQL to SQL

 Every single record returned from this query into Source Tab (as it is a LKM, the metadata commands will create the right command)
 
Will be inserted in C$ table by the following command into Target Tab: 
Insert command at Target Tab - LKM SQL to SQL

Insert command at Target Tab - LKM SQL to SQL

 
But this a example from a KM, could we try something in a Procedure?
 
Situation:
  • Send records fom a Postgre SQL table to an Oracle procedure
  • Source Query:
    • Select Name, Age from Client
  • Target Oracle Procedure:
    • pClient(Name as varchar, Age as date)

Before tell you how to implement, let me discuss about a very important issue: How are the returned values “delivered” to Target Tab???

Let’s remember few points:

  • ODI is a code generator
  • The generated code can be at any programming language or RDBMS command
  • ODI variables exists only in ODI, they aren’t able to exist inside, for instance, of a PL/SQL code in execution at Oracle database.

A new point that, maybe, you aren’t aware about is:

  • The responsible to execute the interaction between the Source and Table tab is the Agent

Note that we will send a query from Postrgre SQL to Oracle it means, two distinct RDBMS.

Agent is able to transform the data format

Agent is able to transform the data format

For Oracle people, this explain how ODI can integrate several Oracle databases with no DBLink.

As I mentioned above, ODI will generate the code and send it to the Oracle database, but how to indicate, in the generated code, where use a column from source?

It’s easy. The query I proposed is:

Select Name, Age from Client

The code for target tab will be:

Begin
   pClient(:Name, :Age);
End;

By using the column name prefixed with “:”, ODI understand that is to generate the Oracle code with the equivalent column from Postre query.

If a function was used in the souce like:

select EXTRACT(DAY FROM TIMESTAMP age) from Client

Just add an Alias and use it at target tab:

select EXTRACT(DAY FROM TIMESTAMP age) as Birthday from Client

 

Well, that is all friends!

The code at Target tab will be executed some many times as the amount of records returned from the Postgre query.

Just remember to setup the respective technology and Logical schema at each tab.

 Best Regards,

 

Cezar Santos

 

October 30, 2009
by Cezar Santos
7 Comments

Categories: Architecture , Common Errors , Logic , ODI , Tips and Tricks

Tags: , , , , , , , , , , , , , , ,

Single Post View


Subscribers – An example of how to use

Hi friends,

I was helping in a thread at ODI Forum, from Oracle page (http://forums.oracle.com/forums/forum.jspa?forumID=374) and I decided to describe the situation here once several people ask me similar questions

What is a Subscriber and how to use it?

  • A subscriber is a way to get the same data, from the same source, to more than one target (or process) when in CDC (Change Data Capture) mode.

I will try to demonstrate it by an example:

Situation:

  •  In a generic system, when a new client is created it is necessary to upload into a DW and send a welcome email to him.
  •  The email should be send, at top, one hour after the insert
  •  The DW load happens once a day, by midnight.

As you see, these are very distinct process. To solve it using subscribers we could do:

  1. Add the Client table to the CDC (I’m using the Simple mode here)
  2. Add 2 subscribers in the table, I named them sb_EMAIL and sb_DW
  3. Start the Journal process

Ok, now we have the environment ready to both process, load to DW and send the email

If you take a look into the journal table (J$_) after insert a new record at Client, you will see 2 records at the view, one to each subscriber and that allows you to execute distinct process to the same source DML.

In this example, to send the email an interface is used to put the new client in a table (another system is responsible to send it) then all that is necessary to be done is:

  • In the interface, check the “Journalized Data Only” and edit the filter to the subscriber “sb_EMAIL”
  • create the scenario for the interface
  • schedule it to execute once by hour at the minute 59 (like: 10:59 am, 11:59 am,  etc)

And,   to the DW load process:

  • In the interface, check the “Journalized Data Only” and edit the filter to the subscriber “sb_DW”
  • create the scenario for the interface
  • schedule it to execute once by day (midnight)

 

That is all! If you query the J$_ table near to 11:00 pm you will see all clients that were inserted  during the day with the subscriber “sb_DW” and only the clients inserted after 10:59 pm.

One last point:

if the situation doesn’t need to send the same data to more than one target, just one subscriber can be used to infinite tables.

 

Well guys, I hope to have reached the objective the explain how a subscriber can be used!!

 

Cezar Santos

October 24, 2009
by kdevendr
11 Comments

Categories: Administration , Architecture , How to , ODI , Tips and Tricks

Single Post View


Why Creating a separate schema in ODI?

Before jumping into this detail of the topic I would like to make the definition of schema and Work schema with respect to ODI Topology clear and i.e

SCHEMA – Schema where ODI inserts and updates the target tables.

WORK_SCHEMA – Schema where all the ODI Temporary table ( C$_,I$_ etc ) are created and dropped by ODI.

Work Schema is an important part of the ODI Architecture. As you all know ODI create Temporary tables, for its loading, integration and transformation from the various source to the target, such as C$_, I$_ etc.  These temporary tables can create a lot of junks and ugliness in your target table in the long end.

The best solution is creation of separate Database schema or user called “WORK_SCHEMA”  or ” TEMP ” or “ODI_TEMP”  whatever you wish name as per your environment , but the most important part is how you use it .

I very strongly recommend the usage of using this TEMP  as ‘ Schema (work schema ) ‘ option in Physical schema for all the technologies. The result and the impact of this is whenever ODI create temporary tables ( C$_, I$_ etc ), you can drop or clean the space of this schema as any time, thus avoiding clutter or temporary ODI tables in the target schema.

Let’s see this option diagrammatically.

Option 1 – Having the Schema and the Work Schema in Topology same.


In such a scenario, ODI will create Temp tables (C$_, I$_ ) in the same schema , the result as you can see lots of junk . Would you love to have such scenario in your Production box?

SYSTEM (Schema)

EMPLOYEE ( Table)
SALES ( Table)
C$_employee
I$_employee
C$_sales

I$_sales

Option 2 – Having the Schema and the Work Schema in Topology different.


In such a scenario, ODI will create Temp tables (C$_, I$_) in the different schema, the result as you can see no junks and DBA can drop this WORK_SCHEMA ODI tables at regular interval.

SYSTEM (Schema)

EMPLOYEE ( Table)
SALES ( Table)

WORK_SCHEMA (Schema)

C$_employee
I$_employee
C$_sales

I$_sales

I know what you all are thinking, isn’t ODI drops all the temporary tables, well the answer is yes but how many times you have created interfaces that you would create just for

Testing purpose

or failed interface still not going till Drop table option

or some time due to some error it fails to drop the table ,

The result presence of these tables permanently in Database unless dropped manually.

I have seen companies using such schema with the option “Staging are different from the target” which is not a good practice of using such schema, as you generally developer would forget to use this option. Moreover, its best and easy to implement in topology rather than to use at 100s of interface created and still the Knowledge Modules creates the Temporary schema in the work schema before doing the Insert and Update.


Second advantage of defining in the topology is that, mostly we define the temporary table in the work schema so we would create all the temporary tables in work Schema.

This option can be considered an important aspect in ODI Best Practices.

October 22, 2009
by Cezar Santos
13 Comments

Categories: How to , Logic , ODI , Tips and Tricks

Tags: , , , , , , , , , , , , , , , ,

Single Post View


How to show Business Messages on Operator and, too, debug variables…

Hi Guys,

I frequently got emails asking how to do show Business messages on OD and, as there isn’t such feature until version 10.1.3.5, I created a way to have it.

It’s just like a magic trick!

We will need an “assistant”….  Let me see….   Please, you, the ODI Procedure! Come to stage!!!!!

Now the preparation to the magic!

1) Create an Option in the Procedure, we can call it The_Message (Type Value), like:

Option to show Message

2) Now create a step, we can call it “Show Message”
3) Put the technology to Java BeanShell

Add the following code:

throw new Exception(“nn<%=odiRef.getOption(“The_Message”)%>nn”)

Like:

Procedure to show Message 

That is it! Nothing more!

To use it, add to any package, click on it, go to its proprieties, Option Tab and write however it the message you wish to show at Operator. It will be like:

Package to show Message

Now, if you go to operator, that is what you will get;

 

Operator to show Message 

Magic Done! Did you like?

OK, now just a small tip! As you see, the “Show any message” step is in RED, that means “The process will be stopped here”. If you wish let it as “Warning” and do not stop the process, click on the checkbox “Ignore Error” in the Procedure step and you can add more steps after the Procedure “Show Message”.

Remember that you can use this Procedure infinite times in the same package or any other… Just change the value of the Option.

That is very useful to debug variable and gots its value at Operator!

Make any sense??

Once more, comments are very welcome!!!!!!

 

Cezar Santos

October 19, 2009
by Cezar Santos
12 Comments

Categories: Administration , Architecture , How to , ODI , Tips and Tricks

Tags: , , , , , , , , , , , , ,

Single Post View


Topology – Data Server – Which user should be used to connect?

Hi All,

Today we will discuss about which database user can be used at Data Server (Topology) and why. As usual, Oracle database will be used in the example.

When you start with ODI, one of the firsts things to learn is that is necessary configure database connections to reverse the source and target table.

And what every single beginner does? Configures both Data Servers (source and target) using the owner schema of the source and target tables and, after that in the ODI physical schema, choose the same schema as “Data Schema” and “Work Schema”.

This is a natural behavior once he is a beginner but let us make a simple analysis about what was done from Database point of view.

  1. A new set of tables (C$, I$, E$) were added into database with no planning from DA (Data Administrator)
  2. A new application is accessing the database by a user that wasn’t created for it
  3. Thinking about tablespaces and ETL/ELT process a not provided load is happening with no warning to those responsible to manager the database

Some possible effects of this 3 points:

  1. Developers from other softwares than ODI starts to see ODI tables and could interferer in its working dropping a I$ table that “shouldn’t” be there once it doesn’t belongs  to the original schema.
  2. The amount of allowed connections can be not sufficient for the ODI connections
  3. Massive data transfers can interferer in the normal working of source and target systems like:
    1. The target database raise an error about no more Tablespace space, in the Final User GUI at 2:15 PM and a SR to Infra-Structure department is opened
    2. When the DBA, at 2:30 PM, investigates what is happening, he founds nothing once there is the projected space on database
    3. Real situation: A massive process create a huge C$ and a huge I$ that used all tablespace (in that moment the Final User got the error) but as the C$ and I$ are dropped at end of execution, everything comes back to the normal. See bellow:
  2:00 PM 2:15 PM 2:30 PM
Free Tablespace 55 0 55
Normal Use 45 45 45
ODI instantaneous Use 0 55 0

 

at 2:15 PM there is no tablespace to the database works.

at 2:15 PM there is no tablespace to the database works.

Then what do to avoid all of this problems (and a few more not discussed…)???

The solution is very simple and the same as always…  CREATE A USER JUST FOR ODI!  And make it as your Staging Area (Work Schema at Physical Schema).

In this way it will be possible:

  • Define a specific tablespace to it
  • Total security control once it will be necessary to grant access to any table that needs to be read or updated or selected, etc.
  • No interference with systems already established
  • Less ODI objects once only one Data Server (Topology) by database will be necessary.
  • Centralized control of database objects created by ODI once they will be under the same owner/schema

These are some advantages between others!

Well folks, I hope to have helped in the understanding of a “Best Practice” in ODI Administration.

One small tip:

–  Print this post and take it to the DBA from your environment, I can assure you that a lot of questions and problems will be avoid when ODI starts… 😉

As always, comments are very welcome.

Cezar Santos

October 16, 2009
by Cezar Santos
53 Comments

Categories: How to , Logic , ODI , Tips and Tricks

Tags: , , , , , , , , , , ,

Single Post View


How to use PL/SQL procedures and functions in ODI

Hi people,

It’s very frequent I got emails asking me how to use PL/SQL function and procedures in ODI.

For that, all you need is an Anonymous blocks of PL/SQL. That is all.

A single example is:

1 – Situation:

You need to call a generic ERP PL/SQL procedure that has 3 “in” parameters before starts an interface

Procedure description:

MY_PLSQL_PROC(par1 in varchar2, par2 in number, par3 in date)

Solution:

  1. Create a ODI Procedure and one step inside  
  2. Choose the technology as Oracle
  3. Choose the right Logical Schema that reach the procedure
  4. Write the following code:

Begin

MY_PLSQL_PROC(#ODI_var1, #ODI_var2, sysdate);

end;

Voila!!! It’s possible to call a procedure!

And yes, I know that I showed the simplest possible case… hehehehehe!

Ok, let us go to something a little more complex:

 

2 – Situation:

You need to call a generic ERP PL/SQL procedure that has 2 “in” parameters and 1 “out” parameter before starts an interface. This “out” parameter brings if there is a business error.

Procedure description:

MY_PLSQL_PROC(par1 in varchar2, par2 in number, par3 out varchar2)

 Solution:

  1. Create a ODI Procedure and one step inside
  2. Choose the technology as Oracle
  3. Choose the right Logical Schema that reach the procedure
  4. Write the following code:

Declare

v_ret varchar2(1000);

Begin

MY_PLSQL_PROC(#ODI_var1, #ODI_var2, v_ret);

If v_ret is not null then

raise_application_error(-20001, ‘The following error is raised: ‘ || v_ret);

end if;

end;

This code will allow you get a business error into Operator and even use the getPrevStepLog API to send an email with the error description.

Ok, can we add more complexity???

 

3 – Situation:

You need to call a generic ERP PL/SQL procedure that has 2 “in” parameters and 1 “out” parameter before starts an interface. This “out” needs to be passed to an ODI variable to future uses.

Procedure description:

MY_PLSQL_PROC(par1 in varchar2, par2 in number, par3 out varchar2)

Solution:

  1. Create a ODI Procedure and 3 steps inside
  • First Step
    1. Choose the technology as Oracle
    2. Choose the right Logical Schema that reach the procedure
    3. Write the following code:

create or replace package P$_temp as

pv_ret VARCHAR2(1000);

function get_ret return varchar2;

end P$_temp;

 

  • Second Step
    1. Choose the technology as Oracle
    2. Choose the right Logical Schema that reach the procedure
    3. Write the following code:

create or replace package body P$_temp as

function get_ret return varchar2 as

begin
return pv_ret;
end get_ret;

end P$_temp;

 

  • Third Step
    1. Choose the technology as Oracle
    2. Choose the right Logical Schema that reach the procedure
    3. Write the following code:

Declare

v_ret varchar2(1000);

Begin

MY_PLSQL_PROC(#ODI_var1, #ODI_var2, v_ret);

P$_temp.pv_ret := v_ret;

end;

Now, for recover this value into a ODI variable is so simple as create the ODI variable with the following code into Refreshing tab: (use the same Logical schema as used in the procedure)

select P$_temp.get_ret

from dual

Add the procedure followed for the ODI variable (in Refresh mode) and you will have the ODI variable composed with the “OUT” value from a PL/SQL Procedure.

 

Well my friends, that is all. At true, it isn’t so complicated.

Any comment is highly appreciated!

Best Regards to all,

Cezar Santos

October 12, 2009
by Cezar Santos
18 Comments

Categories: Architecture , ODI

Tags: , , , , , , , , , , , ,

Single Post View


Context, Logical And Physical Schema – How does it work?

Hi people,

Let me try to explain a subject that I already got a lot of emails asking me about how it works:

  • Data Server
    • Physical Schema
  • Logical Schema
  • Context

It’s very common doubts raises from this combination because it is based in 3 concepts that I call “The three bases”.

The most important is: one doesn’t exist without other.

Topology Engine

Topology Engine

 

 

 

 

 

 

 

It’s good remember that Data Server can be understood as the higher level of Physical Schema and that one Physical Schema is linked to one, and no more than one Data Server.

To a better understanding, take a look in the following flow:

Logical Schema, Context and Physical Schema inter-relashionship

Logical Schema, Context and Physical Schema inter-relationship

 

 

 

 

 

 

 

How does this flow wok?

  •  Data Server
    • Object that defines the connection to database. It storage the IP, User and Password for instance
  • Physical Schema
    • Defines 2 database schema’s (Oracle definition), one to read the data and other to ODI works (work area where the C$, I$ tables could be created if necessary)
  • Context:
    • Defines an “environment”, a particular instance for code execution. The most common example is Development, Test and Production environments but there are several possible other possibilities.
  • Logical Schema
    • It is an alias to a “Logic Structure”, I mean, when a code is developed in a Development environment (a single interface in ODI as example) it is expected (and necessary) that any database structure table and column used at it must be at any new environment where this code could be deployed because, if not, a database error will be raised.

Logical Schema is the final dot to understand the flow. The idea behind its existence is allow the same code be used at any environment once it is an alias.

But this alias, the Logical Schema, can not work alone, once it only represents the a Logical Structure not the connection itself, I mean, User, IP, etc… For that, exists the Physical Schema. It will complete the Logical Schema with physical characteristics to connection.

Because of that, one Logical Schema is linked to one, and just one, Physical Schema.

But why to have an alias to the user, IP, password??? Because then there is no need to include these physicals characteristics into the scenario (“compiled code”) allowing that if, for instance, a password is changed there is no need of a scenario regeneration!!!

Well, after understand the link between Physical and Logical Schema how to add the Context in this equation?

It is to determine, at execution moment, to which hardware the Logical Schema that points to a Physical schema it will be executed. A hardware here can be understood as Development, Test or Production.

If you take a look into the users and schema’s used at the figure you will see differences between the environments. I will explain those differences in another post, about “Connection Architecture”.

Friends, I hope to be helpful in the understanding of all this concepts!

See you soon.

 

Cezar Santos

October 5, 2009
by Cezar Santos
11 Comments

Categories: Architecture , ODI , Technology

Tags: , , , , , , ,

Single Post View


Repository Architecture – Work Repository, Development or Execution? When and why uses each one.

Hi Friends,

I got a lot of emails asking me what is the difference between Development Work Repository (DWR) and Execution Work Repository (EWR) and too, why and when use each one.

In this post, I will try to explain these questions.

First we are discuss the concept of each type of repository and, after, the inter-relationship between them.

What is a work repository from ODI point of view?

It is a set of tables where all information from Designer and/or Operator is stored. It means, code, interface, procedure, variables, packages, execution log, scenarios, etc…

In this way, the ODI client install is only for GUI (Graphical User Interface) and then if, for instance, a HD from a ODI developer hardware crash, since the database wasn’t at same HD, absolutely nothing is lost.

 Concepts

Development Work Repository (DWR) – The code storage.

  • It’s where all developments (or wrote code) are storage, I mean, each single comma wrote in a interface or procedure, each OK line from a package, each datastore created or reversed in a model, etc… and plus, store any execution log from process started from there

In my concept of a perfect ODI environment it’s where the unitary tests are executed, I mean the tests, from developers, after finish the development of an object.

Execution Work Repository (EWR) – The “compiled code” (scenario) storage.

  • It’s where all scenarios are stored and no code alteration is allowed. Only accessible by Operator 

It means, after a generic development be ready to go to test (or production) and a scenario is generated from it (“compiled code” from ODI concept) it should be imported into a EWR for integrated tests (once again in my concept of a perfect ODI environment).

 

Work Repositories Inter-Relationship

OK, after define each repository, let me try to show how to use each one.

In theory, any program code, doesn’t matter if ODI, Java, Visual Basic, PL/SQL, should have just one version in production and just one code to be altered. Of course there is exceptions, when a “bug fixer” is necessary for some old version but this is more frequent in softwares, not at single programs or process.

Based on this theory, the Test and the Production environment couldn’t have a DWR. Imagine the following sequence and its consequences:

  1. All environments has DWR
  2. A generic process is developed in Development environment
  3. After be imported at test environment, a small bug is detected
  4. The “tester” take a decision to fix it once is just “add a comma” and doesn’t talk to the developer
  5. The process goes to Production (too a DWR)
  6. The Operator see some other small problem and, too, take the decision to fix it.
  7. Now, the Business Analyst ask for a new mapping and the developer executes it.

Think… In wich code the new Business Analyst request will be implemented? Can anyone assure that the same process will be tested for the same “tester” and he will remember the process and fix the old issue once more?

Of course that I’m creating limit situation but is to build a terrible scenario and scare you, for sure!!!

Worse than that, imagine if someone put a malicious code in production once can access it with the Developer module?

I know that controls can be created to try to avoid these situation but I prefer doesn’t create a door if no one can pass thru it. There is no reason to create it.

Well, these are my reasons to defend a Work Repository Architecture with just one Development Work Repository and so many Executions Work Repositories as your environment asked for!

Best Regards,

Cezar Santos

September 29, 2009
by kdevendr
0 comments

Categories: Logic , ODI , Tips and Tricks

Single Post View


Removing Special character using Jython script

This post describes a simple method to remove a single or more special character using Jython script

My source flat file had this special character ( ” )

Image

To remove such special character from ODI without running Unix script or other scripts , Please follow this simple ODI procedure to remove such special character using Jython script.

Image

Image

PROCEDURE – REMOVE SPECIAL CHARACTER IN FILE

STEP – REMOVE

source_file = open(‘D:/xp_odi/oracledi/demo/file/pacs08.csv’, ‘r’)
temp_file = open(‘D:/xp_odi/oracledi/demo/file/pacs08_new.csv’, ‘w’)
count_record=source_file.readline()
while count_record :
s=count_record.replace(‘”‘,”)
temp_file.write(s)
count_record=source_file.readline()
temp_file.close()
source_file.close()

STEP – MOVE FILE

OdiFileMove -FILE=D:/xp_odi/oracledi/demo/file/pacs08_new.csv -TOFILE= D:/xp_odi/oracledi/demo/file/pacs08.csv

In the first part of the script

  • source_file = open(‘D:/xp_odi/oracledi/demo/file/pacs08.csv’, ‘r’)

Iam opening my source file in the Read mode

  • temp_file = open(‘D:/xp_odi/oracledi/demo/file/pacs08_new.csv’, ‘w’)

Here iam defining the Temporary file in the Writable mode

  • count_record=source_file.readline()

Counting the Number of records in the file

  • while count_record :s=count_record.replace(‘”‘,”)temp_file.write(s)count_record=source_file.readline()

Here for each record , iam replacing the special character (“) with null and temp_file.write(s) writes in the target file

Finally after the complete tranfere i move the temp file to source so that we dont need to make any changes to the source.

Run the ODI Procedure and the special character will be removed and final Source file will be

Image

Solution 2 – Suppressing at the ODI Datastore level [ Easiest solution]

image

Under the required data store – in Text Delimiter provide  the Special Character and the special character will be suppressed while loading into the target .As for my  example i have  provide the semicolon in the Text Delimiter.

The File is still there with the special character but  this is the easiest solution.

image

September 25, 2009
by kdevendr
0 comments

Categories: Knowledge Modules , Logic , ODI , Tips and Tricks

Single Post View


Faster and Easiest way to design Interfaces

Define your Model Folder and Models .

Right Click on the Target Models and select ‘Interface In‘

Image

Select your Generation Folder and Optimization Context accordingly and Select the Data Store Name for which the interfaces needs to be generated else Click ok and all the Interfaces will be generated at selected Folder.

Image

The sample Interfaces are generated as shown below according to the desired Data store Name.

Image

Drag in your source and apply the LKM , IKM and CKM and run the interface. Now there is simple process to make the selection of the KMs automatically.

Considering for an Example –

Source – SQL Server and Target – Oracle , LKM as SQL to Oracle , IKM SQL Control Append with No Flow control and Truncate as yes for options and No CKM as Flow control is disabled in IKM.

Open your LKM – LKM Sql to Oracle – Check mark the option Default KM for this pair of Technologies.

Image

Do the same for IKM SQL Control Append

Image

Go to IKM options and change the required settting

Image

[ Note : Please do not change it on the standard IKM , either make a duplicate and do the required changes or add change history with the required changes on both the conditions. This are some of the good practice of ODI KMs usage and Reusability ]

Image

Go the CKM Oracle and SQL and uncheck the mart – ” Default KM for this pair of Technologies ” as CKM wont be used since we are disabling the flow control option.

Image

Now drag your source and automatically your LKM , IKM and CKM will be selected. If not check with other option KMs , if they are overriding the above mentioned option of “Default KM for this pair of Technologies” .

Keep looking at ‘www.odiexperts.com ‘ for more wonderful tips and tricks.