Knowledge module usage
Hi folks
can you please suggest me what type of loading and integration knowledge modules can i use for my requirement
source->AS/400
Target->oracle
Thanks
Raj
If you only need to Append, then use IKM SQL Control Append, if you need to update, then use IKM Oracle Incremental Update. If using the IKM Oracle Incremental update, make sure you use the latest version, and make sure you select the appropriate options ( COMPATIBLE- 0 Oracle 9/10, and DETECTION_STRATEGY)
Similar Messages
-
Hi,
I have a requirement where I need to build my metadata(hierarchy) in Hyperion Planning using a flat file by using ODI.
I'm using File technology as my source and Hyperion Planning technology as my Target in topology manager.
But i do not know that what all knowledge modules I should be using to achive this.
Can someone plase let me know that what all knowledge modules I should be using so that I can build the hierarchy in Hperion planning via a flat file using ODI.
ThanksYou will need the following KM's
1) LKM File to SQL
2) IKM SQL to Hyperion Planning -
Custom IKM Knowledge Modules are not working with Group By Clause
Hi All,
I am facing an issue with custom IKM knowledge modules. Those are IKM Sql Incremental Update and IKM Sql Control Append.
My Scenario is
1. Created an interface with table on source and temporary datastore with some columns in target.
2. In the Interface on the target i defined one column as UD1 and other column as UD2 for which group by to be implemented .
3. Customized IKM Sql Incremental Update with " Group by " by making modification in my IKM Sql Incremental Update
detail step "Insert flow into I$ table" i.e., i replaced like this whereever i find this <%=odiRef.getGrpBy()%> API
Group By
<%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>,
<%=snpRef.getColList("","[EXPRESSION]","","","UD2")%>
Up to UD5.
. Here in the place of [EXPRESSION] i passed column names for UD1 similarly other column name for [EXPRESSION] of UD2.
4.Made all the proper mappings and also selected the KM's needed for that interface like CKM Sql ,IKM Sql Incremental Update.
5. Executed the Interface with global context.
Error i am getting in this case is :
Caused By: java.sql.SQLSyntaxErrorException: ORA-00979: not a GROUP BY expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
Here the columns in the select clause are there in Group By also.
I did the same scenario using IKM Sql to file append .In that case i am able to do it. But not with the above mentioned KM's. Please let me know if any one know it or tried with this, as it is
high priority for me.
Please help me out.
Thanks,
keerthiHi Keerthi,
If your are transfering data from Oracle to Oracle (I means source is oracle Db and target is also oracle DB) then use below KM's and group by will come automatically based on the key values you selected on interface target datastore
1) CKM Oracle
2) LKM Oracle to Oracle (DBLINK)
3) IKM Oracle Incremental Update (MERGE)
Hope this will helps to resolve your issue
Regards,
Phanikanth -
Need help in creating Knowledge module to aggregrate source data.
Hi Guys,
I am new to ODI and I am trying to create a Knowledge module. I went through the docs relating to Knowledge modules and APIs, so hopefully did my home work, I still find writing KM to be very challenging for the scenario, I have.
The following is my scenario.
I have two tables Employee and Department. Employee is the source and Department is the target. I need to sum salaries of all the employees belonging to a given department. And then insert the data into Department table.
Structure of the tables is as follows:
Employee(Source Table name)
Employee_id
Salary
Dept_id
Department(Target table name)
id
total_salary
Both target and source are on the same server. The user of this KM would drag and drop both source and target tables into interface and then map the columns. In the above case, Dept_id to id and salary to total_salary and then use this IKM. And off-course the user would indicate what columns would be aggregated on and what would be used as group by. One way to tag that, would be to use those UD1,UD2 tags in target column properties. (If there is another way to tag a column to indicate a column to be used for aggregation and a given column to be used in group by during run time in source, please let me know)
I choose to write IKM for this.
The challenging part is that I am having hard time figuring out the columns of source table as to what column should be used as group by and what column to be aggregated on. Since the tags are defined on Target columns and not on source columns. So have to figure out the appropriate columns through the mapping at run time.
The following is what I am planning to write in (Insert new rows ) command. And the part where I need help is how to compose select statement.
iinsert into <%=odiRef.getTable("L","TARG_NAME","A")%>
<%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
<%=odiRef.getColList(",", "[COL_NAME]", ",\n\t", "", "((INS and TRG) and REW)")%>
Select
source.column1,sum(source.column2) from <%=odiRef.getFrom()%> GROUP BY source.column1
Thanks.I did try as per your advise.
Filter is not making a difference. Irrespective of me adding a filter or not, ODI generates a sql that has GROUP BY , just by looking at SUM(SALARY).
Coming back to the main issue, this does do what I wanted to do. I was planning on using a custom KM. But I guess, this is as good as custom KM, since the work done in an interface (assuming a custom KM exists) by going through either route is the same, so I can live with this approach.
Thanks for the help. -
How to refresh ODI variable as part of a Knowledge Module?
Hi,
I want to know how can i refresh a ODI varaible in a knowledge module using oracle Technology. EX: i have created a variable called VAR_TEST in ODI.
In one of the knowledge module steps, i want to refresh as mentioned below:
begin
select colname into #VAR_TEST from tablename;
end;
Many thanks ....Hi Martin,
Put the query in the refresh tab into the variable, generate a scenario from the variable and call the scenario thru "OdiStartScen" (Sunopsis API technology) from KM.
In this case the variable needs to be "Last Value"
An alternative is to use a Java variable instead.... Works better to KM's.
Does it help you?
Cezar Santos
http://odiexperts.com -
Import Knowledge Modules in Synonym Mode
Hi
How can I import a knowledge module in synonym mode to ensure that IDs are preserved?
I am performing a partial import/export from our Dev environment to our QA environment, following these steps:
1. Export Models and import them in “Synonym Mode” in the new repository to preserve their IDs
2. Export and Import new Knowledge Modules and Variables that have been created as part of this release
3. Export new interfaces and import them in “Synonym Mode” in the new repository
4. Export new packages and import them in “Synonym Mode”
CheersHi,
You need to perform the foolowing steps to import a KM in Synnym mode:
1.Locate the Knowledge Module XML file on your file system and rename its prefix to “TRT_”
instead of “KM_”
2. Right-click on any Folder of your Project and select “Import…> Import Procedure..” menu
3. Select “Synonym Mode INSERT_UPDATE”, go to the directory where your KM is stored on
your file system and select your KM, then click OK.
Hope that helps. -
ODI 11.1 RKM E-Business Suite Knowledge Module??
I downloaded and installed the companion, I see many knowledge modules but not the "RKM E-Business Suite" Knowledge Module..
The documentation refers specifically to it by that name. Does it go by another name in ODI 11.1.1?
Thank you,
JzWhich companion have you downloaded. I recently downloaded Oracle Data Integrator Companion 11gR1 (11.1.1.5.2) version and that has got RKM E-Business Suite.
Regards,
Harris -
Reg : Doubts on Knowledge Modules
hi all,
Please give brief idea about knowledge modules. please dont give links .
KNOWLEDGE MODULES
REVERSE ENGINEERING
LKM
CKM
IKM
JKM
SKM
Thanks a lot in advance ,
-Chinnu.LKM - Loading
The LKM - Loading Knowledge Modules - load (or extract data) from one data server to another.
They are named as follows:
LKM <source server technology> to <target server technology> (<module specificity>)
JKM - Journalizing
The JKM - Journalizing Knowledge Modules - setup journalizing on a datastore in a data model.
They are named as follows:
JKM <technology to journalize>
Note: Journalizing uses triggers and views. Therefore technologies that do not support these functions generally do not have an associated JKM.
IKM - Integration
The IKM - Integration Knowledge Modules - integrate data in a target data server from a Staging Area. Frequently, the Staging Area and target space are on the same data server. The IKM can manage options such as data insertion (Append), or update (Incremental Update), etc.
They are named as follows:
IKM <Staging Area data server technology> to <target data server technology> <option managed in the module> (<module specificity>)
IKM <Staging Area and target data server technology> <option managed in the module> (<module specificity>)
Note: The option managed by the module frequently indicate the more complex option supported in this knowledge module. For instance, a module Incremental Update (update) should also be able to manage the option append, which is data insertion, and suppression of data in the target..
CKM - Check
The CKM - Check Knowledge Modules - manage the data quality and cleansing, on static data and on data flows.
They are named as follows:
CKM <Checked Technology> (<module specificity>)
RKM - Reverse-engineering
The RKM - Reverse Knowledge Module - reverse-engineer a data model stored in a given technology. As default, the standard reverse allows to reverse all the information and meta-data in most models. It is required for certain technologies (files for instance) to use a personalized reverse and therefore a RKM. They are named specifically.
SKM - Services
SKM (Service Knowledge Modules) are used to generate the code required for creating data services. This code (typically Java) can be automatically compiled and deployed to a web service container.
You can get more information about various KMs from
http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/documentation/oracledi_km_reference.pdf
There is no escape from URL :) -
Are there any Oracle OLAP ODI Knowledge Modules for Oracle Olap 11g ?
Hi guys, wasnt sure where to post this so I put it here and the ODI forum
Does anybody know when Oracle OLAP Knowledge Modules, will be available for Oracle Olap 11g. It appears that the knowledge modules released with Oracle Data Integrator 10.1.3.5, currently only work with Oracle Olap 10g...
If there is no timeline, does anybody know of work around to get ODI reverses working on Analytical Workspaces built in Oracle Olap 11g
Thank you
Richard
Edited by: RichardSmith on May 15, 2009 11:51 AMRaise a service request with Oracle Support (Metalink) for your system slow issue. May be, they will recommend you the workarounds for the issues which are not yet available for 11g in the form of Patches.
Regards,
Sabdar Syed. -
How to Import Knowledge Modules
Hi,
I am patching the ODI to 10.1.5.3 and successfully updated the install folder and imported technologies as described in the patchset. At the end I find a last step to import Knowledge Modules, but I can't see how this step is performed.
Could you explain me how to do this?
Thanks
Fabio D'AlfonsoHi,
In any of KM types, right-click and choose "Import KM" and, after that, in the first textbox, go the ODI install directory and drill drow until "impexp" directory (Example: C:\OraHome_1\oracledi\impexp).
Don't "open" the diretory, just choose it and click OK. The KM list should appears to you.
Works?
Cezar Santos
http://odiexperts.com -
Teradata SQL multiple statements (not multistmt) in Knowledge Module Step??
In a Knowledge Module Step using Teradata Technology, I have the following statements
statement 1 ;
statement 2 ;
statement 3 ;
Since the semicolons are at the end of each statement, I expect that these statements will be executed in sequential order
and not in parallel as in a multistatement. Can someone confirm this ?
I ask this question, because I observe that if statement 2 fails (say for e.g because it is an insert statement and there is no space on the database) then statement 1
is not commited either (or perhaps it is rolled back ). This behaviour is expected in multistatements (i.e. where statements run in parallel).
Thanking you all in great anticipation
Amer (Newbie!)Hi Amer,
This is obvious that in one step you have included
statement 1 ;
statement 2 ;
statement 3 ;
So any of the statement fails means this step is not going to work unless until you use AUTOCOMMIT STATMENT (drop or truncate).
If your 1st statement will be " drop table xyz"
2nd statement will be " truncate table abc""
3rd statement will be " delete from def"
if 3rd statement fails , then 1st two are auto committed and will be reflected in your database. But if 1st statement fails means its the end for this step.
If your requirement is like to do this in step of a KM better use one procedure.
Hope its helps.
Thanks -
ODI Knowledge Module for UNION - UNION ALL - INTERSECT Case Study
All about BI &amp; Data Integration: ODI Knowledge Module for UNION , UNION_ALL, INTERSECT
Looks like a discussion/post rather than a question. You can uncheck the "Mark this discussion as a question" while creating the post.
-
Knowledge Module info in repository
In which tables is Knowledge Module information held in the repository?
My specific issue is as follows:
I want to find all interfaces that have a particular option to a particular value in the IKM Oracle Merge.
Thanks
Uli
www.bi-q.ie
Edited by: ubet on Oct 2, 2009 10:18 AMUli,
SELECT st.trt_name, sp.pop_name, sue.ue_name, sue.short_value
FROM snp_trt st, snp_user_exit sue, snp_pop sp
WHERE st.i_trt = sue.i_trt
AND sp.i_trt_kim = sue.i_trt
AND st.trt_name LIKE '%Oracle%MERGE%'
will give you a list of all the interfaces that are using Oracle MERGE KM and their respective Option and its corresponding value.
You can filter on UE_NAME and SHORT_VALUE columns to find the interfaces that you need. -
Knowledge Modules for ODI- Oracle BAM Integration
Could we please know who develops the Knowledge Modules for ODI- Oracle BAM Integration?
Is there a separate team that develops these KMs?
Learnt that ODI development team does not develop these KMs.BAM development team is responsible for the BAM ODI KMs.
-
Language used in Knowledge Module
Hi all,
Can you please tell me what is the language used in the code for all the knowledge modules
reagrds,
SouravHi Sourav,
Basically Java.
odiRef is the class and followed by the method with parameters.
Example,
<%=odiRef.getSession("SESS_NAME")%>
Where,
odiRef is the class.
getSession is a method/fuction which accept one parameter "SESS_NAME".
The <%= and %> is the tag which will be interpreted by Agent and converted in to SQL codes at run time.
Thanks,
Guru
Maybe you are looking for
-
How can I change the background color of my podcast's iTunes page?
My RSS feed just got accepted but now I need to customize the title, author, background color, and logo of my site. Does anyone know how to do this? Thank you!
-
How to Install oracle11g R2 in solaris 10
Hi, Can anyone help me to install to oracle 11g Release 2 in Solaris 10. I tried to install and got error "Xlib: connection to ":2.0" refused by server Xlib: Client is not authorized to connect to Server". Please provide me the steps to install oracl
-
Backup failed because the network destination disk was ejected or disconnected unexpectedly!
My time machine is stuck on 'Stopping backup'. The time machine widget gives the above reason: 'Backup failed because the network destination disk was ejected or disconnected unexpectedly!' Any idea what I can do to restore it? Many thanks John iMac
-
Error Using the VB Outline API
Recently, I wrote a VB 6.0 application to perform a simple task in order to accomodate difficulties with Hyperion Planning. The application initializes the API, opens the outline, deletes a few members, restructures, and exits.Following is my functio
-
JDeveloper BPEL-INF/lib. How to add libraries to a bpel project.
Hi. Include libraries in BPEL-INF/lib in a Jdev 10.1.3.3 bpel project is not so trivial. Does anybody know how to make that the same ant task provided by JDeveloper for deploy bpel process include the libraries needed in the BPEL-INF/lib?? or is ther