ODI extracto HFM to Oracle Table
Hi,
we are running a integration to extract data from HFM to an Oracle Table. The target Oracle Schema holds also the staging area when needed.
We are planning to use IKM Oracle Incremental update but not sure if this is the best solution as it will create an unnecessary I$ table.
Any suggestions?
Thanks
Hi,
Why do you say the I$ table is unnecessary? Are you not going to be using flow control to check the quality of your data before loading into Oracle.
If you do not require flow control as you are certain that your source data is quality perfect and you also have no data transformation in your interface (which normally would happen between C$ and I$), you can amend the knowledge module to load direct from the C$ table created in your LKM to your target table.
If you are truncating/loading you could use IKM SQL Control Append, but again, this will create an I$ table.
Cheers
Bos
Similar Messages
-
Error while using Oracle Table as source file :- ODQ for ODI
Hi All,
I am getting some errors while working on ODQ with Oracle Tables as source file.
If I am trying with text files (*.txt) as source and output it works fine.
Please let me know how we can connect to an oracle table which is my source file.
In the exported project -> “settings” folder
In the file named eN_transfmr_pXX.stx
For
/CATEGORY/INPUT/PARAMETER/INPUT_SETTINGS/ARGUMENTS/EN
TRY/DATA_FILE_NAME=
What I need to give? (URL – source file)
I tried with
1. jdbc:oracle:thin:@xxx.xxx.x.xx:1521:ORCL
2. jdbc:oracle:thin:UserName/Password@// xxx.xxx.x.xx:1521:ORCL
i am not sure , is there any thing missing ???
(Note: for text file I am giving “D:\Sourcefolder\customer.txt”)
If I am running the batch file directly from CMD Prompt it’s displaying the error message
“Cannot open file”
If I am connecting with ODI it’s displaying the error
com.sunopsis.dwg.function.SnpsFunctionBaseException: OS command returned 3503. …………………….
Thanks in advance…
Rathish A MHi Ratish,
ODQ supports files as inputs not Oracle tables, what you should do is:
- define an ODQ process that takes a file as an input.
- create an ODI process that dumps your Oracle table into a file that will be used by ODQ. (interface or OdiSqlUnload step)
- run the ODQ process in ODI (in a package)
- create an ODI interface that will load your ODQ output file into a DB.
You can profile Oracle tables directly using Oracle Data Profiling.
Thanks,
Julien -
Column not found error while populatin a oracle table with ODI USer
Hi,
I am trying to populate a column in a oracle table with the ODI USER name using the function getUser("USER_NAME") in the Mapping column of the Interface, But the interface throwhing an error *Column not found : Supervisor in Statement [Select......]*. but it's working fine with getUser("I_USER') the column is populating the user identifier.
can any one help me out why user is not populating.
ThanksEnclose the call to the getUser api inside single quotes
'<%=getUser("USER_NAME")%>'ID being a number can be used directly but USER_NAME returns a string that needs to be quoted -
How to load data from oracle table to XML using ODI ?
Hello Team
I am trying to load data from an oracle table to an xml file. I have configured the physical and the logical schemas for the same. I have used SQL to SQL as LKM and SQL to SQL Append as IKM with Sunopsis Memory Engine as staging area.
After this, when I am executing the interface, it is executed without any errors but to my surprise I am not finding the relevant data in the xml file. What could be the reason ?
Please look into this and lemme know how to solve it.
Thanks.908458 wrote:
Hello Phanikanth
Even IKM SQL Control Append is not solving the problem. There are many " order columns" in the target xml table. I have not mapped them or specified any order. Does the problem persist because of this ?
Thanks
Manoj
Ocle to XML file loading issue in ODI 10.1.3.5 -
Problem fetch data from oracle table to ODI variable
Hi
I created a procedure in ODI to fetch a record from oracle table and store it into ODI variable. In table all columns have values but those values are not storing in to ODI variables when ODI execute procedure
After execution, i am getting following exception
java.lang.Exception: Variable has no value: ORACLEEBIZ_PAS_BULK_LOAD_PROJECT.PVV_ORGANIZATION_CODE
at com.sunopsis.dwg.dbobj.SnpVarSess.getValue(SnpVarSess.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskPreTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
My Procedure: (Please let me know the following ODI procedure correct or not)
begin
select
item_number,
primary_uom_code,
organization_code,
best_by_date,
expiration_date,
lot_number,
origination_date,
retest_date
into
'#PVN_LOT_NUMBER',
'#PVV_PRIMARY_UOM_CODE',
'#PVV_ORGANIZATION_CODE',
'#PVV_BEST_BY_DATE',
'#PVV_EXPIRATION_DATE',
'#PVV_LOT_NUMBER',
'#PVV_ORIGINATION_DATE',
'#PVV_RETEST_DATE'
from (select rownum r,b.* from apps.MTL_OPSM_LOT_EXPORT_V_TEST b) where r='#PVN_ROW_COUNT';
end;
Please help me to resolve the issue
Thanks in advance
Regards
Phani
Edited by: Phanikanth on Jun 29, 2010 6:36 AM
Edited by: Phanikanth on Jun 30, 2010 3:43 AM
Edited by: Phanikanth on Jun 30, 2010 3:59 AMSSIS Import/Export Wizard is the best choice:
http://www.sqlusa.com/bestpractices/ssis-wizard/
Alternative is linked server:
http://www.sqlusa.com/bestpractices/linktooracle/
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Upload text file to oracle table with checking and aggregation
Hi Friends,
I am new to ODI. I have encountered a problem which is specific to ODI 11G (11.1.1.6.3) to upload text file to oracle table with checking and aggregation. Would you please teach me how to implement the following requirement in ODI 11G?
Input text file a:
staffCode, staffCat, status, data
input text file b:
staffCodeStart, staffCodeEnd, staffCat
temp output oracle table c:
staffCat, data
output oracle table d:
staffCat, data
order:
a.staffCode, a.staffCat, a.status
filter:
a.status = ‘active’
join:
a left outerjoin b on a.staffCode between b.staffCodeStart and b.staffCodeEnd
insert temp table c:
c.staffCat = if b.staffCat is not null then b.staffCat else a.staffCat
c.data = a.data
insert table d:
if c.staffCat between 99 and 1000 then d.staffCat = c.staffCat, d.data = sum(c.data)
else d.staffCat = c.staffCat, d.data = LAST(c.data)
Any help on fixing this is highly appreciated. Thanks!!
Thanks,
ChrisDear Santy,
Many thanks for your prompt reply. May I have more information about the LAST or SUM step?
I was successful to create and run the following interfaces p and q
1. Drag text file a to a newly created interface panel p
2. Filter text file a : a.status = ‘active’
3. Lookup text file a to text file b : a.staffCode between b.staffCodeStart and b.staffCodeEnd
4. Drag oracle temp table c to interface panel p
5. Set c.staffCat : CASE WHEN b.staffCat IS NULL THEN a.staffCat ELSE b.staffCat END
6. Set c.data : a.data
7. Drag oracle temp table c to a newly created interface panel q
8. Drag oracle table d to interface panel q
9. Set UK to d.staffCat
10. Set Distinct Rows to table d
11. Set d.staffCat = c.staffCat
12. Set d.data = SUM(c.data)
However, the interface q should be more than that:
If c.staffCat is between 99 and 1000, then d.data = the last record c.data; else d.data = sum(c.data)
Would you please teach me how to do the LAST or SUM steps? Moreover, can interface p and interface q be combined to one interface and do not use the temp table c? Millions thanks!
Regards,
Chris -
How to extract data from Oracle Table to an Oracle XMLtype field
All,
I'm very new with ODI and I'm looking for a way to implement the following scenario:
I have the Oracle table A, already mapped to Data Model A. This table has the following fields:
field X (PK)
field Y
field Z
field W
I have a table B, already mapped to Data Model B. This table has the following fields:
field X (PK)
field V (XMLType)
I want to extract the data from Table A to a XML file with the following structure:
<X> yada yada yada </X>
<Y> yada yada yada </Y>
<Z> yada yada yada </Z>
<W> yada yada yada </W>
and then insert this file into the field V of Table B. How can I do that?
TIA,
RodrigoYou can use UDConnect to get from Oracle database in to BW
<b>Data Transfer with UD Connect -</b>
http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
<b>Prerequisites</b>
You have installed the SAP WAS J2EE Engine with BI Java components. You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
Hope it Helps
Chetan
@CP.. -
How to synchronize Sql Server when Oracle table has trigger
Hi
I have a trigger which will update/insert the data into a Oracle table.
I have an interface which normally moves the data from Oracle table to SQL Server table.
Is there any way which will update/insert the data into SQL Server table whenever any trigger fires on Oracle table.
Thanks,
GaneshODI's CDC capabilities can be used to propogate changes from Oracle to SQL Server. If your trigger inserts/updates on an oracle table, then ODI's CDC should pick that up. If you have a scenario which does a WaitForLogData on your Oracle table, it can kick off the interface to transfer the journal data whenever that happens.
-
How can I inserting file's line into a oracle table in physycal order
How can I insert the file's line into a oracle table in the same physycal order that they exists in the file ?
I am using "SQL to FILE" km to performing file load into Oracle table, but the order which the records are insered into the oracle table doesn't match with the order of file's lines
How can I guarantee the same file's physycal order in the oracle table( target ) and file( source ) ?
Is it possible throught ODI ?
Thanks,
LucianaHi,
although I understand why use "File to Oracle( SQLLDR )" KM, I haven't the guarantee that in the agent's machine the Oracle Client installed and because when I openned the others projects I saw that anyone in my company use this KM( "File to Oracle( SQLLDR )" )
Tha's why I ask for anyone lead me whith the modification of the previous post in the "uLKM File to SQL", specifing the km step e where put the RECNUM pseudo column
This is fundamental for my ODI project
When I try to alter the "Create Work Table" and "Load Data" step of my "uLKM File to SQL" km, the execution returned me the error below:
=====================> Create Work Table Step
create table <@= vWorkTable @>
C1_LINHA_ARQ VARCHAR2(500) NULL, RECNUM NUMBER(10)
=====================> Load Data Step
select LINHA_ARQ C1_LINHA_ARQ
from TABLE
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=ARQ_INSS2SNP$CRLOAD_FILE=/arquivos_odi/ccrs/in/#CCRS_CAD_INSS.vpNOME_ARQUIVOSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=09SNP$CRFILE_SEP_LINE=0D0ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=LINHA_ARQSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLINE_OFFSET=1SNP$CRLENGTH=500SNP$CRPRECISION=500SNP$CR$$SNPS_END_KEY*/
insert into ODI_RUN_CONV.C$_0TMP_ODI_INSS_DADOS_ARQ
C1_LINHA_ARQ, RECNUM
values
:C1_LINHA_ARQ, RECNUM
=====================
984 : 42000 : java.sql.BatchUpdateException: ORA-00984: column not allowed here
984 : 42000 : java.sql.SQLSyntaxErrorException: ORA-00984: column not allowed here
java.sql.BatchUpdateException: ORA-00984: column not allowed here
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:629)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9409)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:211)
at com.sunopsis.sql.SnpsQuery.executeBatch(Unknown Source)
...Thanks again gyus,
Luciana
Edited by: 933810 on 31/05/2012 06:04
Edited by: 933810 on 31/05/2012 06:07
Edited by: 933810 on 31/05/2012 06:14 -
How load File as Blob in Oracle Table?
Hi, I am beginner in ODI.
How load File as BLOB in Oracle Table?Ah so nice, a FAQ, by someone who can't use online resources!
Any explanation why Google is broken for you?
Here is the code I use to load a jpg.
procedure upd_portrait(p_person_id in number, p_file_name in varchar2) is
l_blob blob;
l_bfile bfile;
begin
update person
set portrait = empty_blob()
where id = p_person_id
returning portrait into l_blob;
l_bfile := bfilename('MY_IMAGES', p_file_name);
dbms_lob.fileopen(l_bfile);
dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile));
dbms_lob.fileclose(l_bfile);
end;
Sybrand Bakker
Senior Oracle DBA -
Steps to transfer Delimted File to Oracle Table
Hello all,
I am in the process of exploring ODI, and have installed Master and Work repositories on my machine
I have to use ODI and transfer the Flat File to a oracle table.
Please anybosy can help me in this, by giving the steps for same.
Really need the help.
Thanks
ReshmaThanks a lot Gurusank, for personally looking into the matter and guiding me for how ODI can be used for Flat file transfer to Oracle
it has really helped me a lot.. and now i have got the track and can explore ODi easily.
My issue is resolved.. -
Hi Experts
I have an issue when I load metadata via ODI to HFM. I get this message:
Error code: 0x80040154 [Class not registered
com.hyperion.odi.common.ODIHAppException: Metadata load failed. Error code: 0x80040154 [Class not registered
After some search on the net I see that this is due to a patch which is already been installed(ODI 10.1.3.5.5). The HFMDriver.dll is renamed as HFMDriver32.dll and HFMDriver64.dll rename as HFMDriver.dll.
Patch 9377717: ORACLE DATA INTEGRATOR 10.1.3.6.0 PATCH
1. I have reversed the HFM application TestApp into target for ODI and everything seems fine in the operator
2. I have created a simple source flat file for the Account dimension
3. I have created an interface to the Account dim. and verified the mapping with no errors
4. The process stops when trying to Load the Metadata to HFM(Step 5 / of 7)
5. When I search the log I see the Error code: 0x80040154 [Class not registered]
Does anyone have any idea why the interface does not load the metadata?
Brs
Inge Andre
Edited by: 819836 on Apr 14, 2011 12:49 PMThis instructions given us by the support have fixed the problem on the first topic.
1. Unregister the adapter by opening the command prompt and changing the path to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ RegSvcs.exe /u C:\Hyperion\products\FinancialDataQuality\SharedComponents\AdapterComponents\fdmAdapterCOMadmin\fdmAdapterCOMadmin.dll
and:
RegSvcs.exe /u C:\Hyperion\products\FinancialDataQuality\SharedComponents\AdapterComponents\fdmFM11xG5C\fdmFM11xG5C.dll
Please verify the correct path to the dll's before proceeding
2. Re-register the adapter using the 64 bit version of RegSvcs, C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\RegSvcs.exe <PathToDLL> i.e. ..\Hyperion\products\FinancialDataQuality\SharedComponents\AdapterComponents\fdmFM11xG5C\fdmFM11xG5C.dll
N.B. Do not re-register the ComAdmin.dll because that is not a 64 bit component.
4. Open the FDM workbench and configure the adapter by right clicking the adapter -> Configure and re-entering the username and password.
Regards. -
Extracting explanations from planning app and loading into Oracle table
Hi All,
I had a requirement where I had to extract data from a planning application through ODI 11g and load it into Oracle RDBMS.
I used essbase as my source in technology (since planning data is stored on essbase side) and oracle as my target.
Now the data is getting extracted from essbase side and is getting loaded into Oracle table through ODI.
Now the client requires that they want to extract the explanations or text values also from planning application and load them into Oracle table.
How this can be achieved?Is there a table on the sql side(since sql database is being used at back end for planning app) which stores the explanations,if yes please let me know which table it is.
Kindly help me with this requirement.Hi,
IKM SQL Control Append is perfect if you don't need incremental updates. If you need it, go for IKM Oracle Incremental Update (MERGE) or something like that.
Regards,
JeromeFr -
Loading Metadata from planning to oracle table
Hi
I am trying to load one dimension metadata from planning to oracle table.we are on 10.1.3
i selected LKM SQL to SQL to load from source to staging area and IKM SQL to SQL append to load from staging to Target.
I got the below error
0 : null : java.sql.SQLException: Driver must be specified
java.sql.SQLException: Driver must be specified
at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.t(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java)
at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Please suggest..
Thanks,Hi John
Thank you for the response
i am trying to load accounts back to oracle table.
My plan is to load existing accounts in planning to a oracle table i.e PLANACNT,so when i load new accounts from oracle to planning through ODI , i can say in the source filter that load Table.column not in (select accounts from PLANACNT).
Please suggest if there is any better method for this...my plan is to load new accounts created in oracle to planning by comparing the accounts in planning.
Thanks, -
Hi All,
I am sending XML data to Oracle tables using ODI .
i did all the topology setup's and i got tables in Model based on XSD.
but i did not get the data in the tables, i got from XSD .
i placed both the xsd and xml file paths in the url.
i got empty tables in MODEl.
can any one help me in this issue.
Thanks .
RK.Hi
try giving only the xml file. something like this "jdbc:snps:xml?f=C:\abctest.xml" , when inserting physical schema dont forget to give the values for schema and work schema.
Hope it works for you.
Thanks
CJ
Please do remember to assign points (Helpful / Correct) accordingly to the thread before closing, that encourage experts to help you more quickly and effectively.
Edited by: user10511095 on Jun 19, 2009 4:47 AM
Maybe you are looking for
-
Unable to install iTunes on windows 8 keeps getting stuck at 98%
When trying to install iTunes to my new laptop the status bar gets stuck at 98% and nothing happens.
-
Hello all, I just tried to use variable in a query and dont know how to output the content in the query. As you can see from what i am trying, i would only get the name of the query and the field name not the output. Please tell me the idiotic thing
-
Where is the SE Aino Support located now?
Hi Just out of curiosity, I was wondering where the Sony Ericsson Aino Forums are located now, I understand that the actual SE Aino Section was deleted but where would I post for assistance if I do encounter a problem on my aino? Also, a suggestion,
-
The StageVideo class is not supported in the AIR desktop or extendedDesktop profiles.
Hi all, when will be supported? Thx
-
Description of New API in CR 2011
According to Coy's web seminar, Crystal 2011 provides API additions that make it easier to move from RDC to the .Net object model. Where can we find a description of these API additions?