Citing using ESS ODI scenario
Hi allAs part of the migration of data, I am required to invoke ODI scenario using a java program which in turn is called by a work of ESS. So under the present, how it would be possible for me to invoke ODI scenario via the java code. Is there any web service provided by ODI to invoke scenarios. I am new to ODI.
Thanks and greetings
Fabrice
Hello
I was able to expose a webservice that could invoke a script. That's how I went to.
1. creates a J2EE agent by following the steps in this link
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_11g/setup_jee_agent/setup_jee_agent.htm
2. create a physical agent and agent in ODI IDE logic
Goto: http://agentHost:port/oraclediagent/OdiInvoke? WSDL
Then I used JDEV httpanalyser and was able to give the name of the scenario and the version number as input parameter. And "SEND the REQUEST"... (There must be better ways to do what I'm new on this..)
The script should run successfully. You can also view the results of execution of script in the navigation of the operator in ODI IDE.
Concerning
Fabrice
Tags: Business Intelligence
Similar Questions
-
Questions for ODI scenario as a webservice of the framework of Action of OBIEE
Hi gurus,
I did the web service configuration in ODI and OBIEE according the A-team link http://www.ateam-oracle.com/integrating-odi-with-obiee-how-to-invoke-odi-scenarios-load-plans-from-obiee/
The configuration is completed, however when I try to call an ODI of OBIEE scenario, he starts a session in ODI and - error with the message next-
java.lang.Exception: ODI-17546: specified variable not found in the repository: null
I tried to create a variable of the global model and passing by the service Web like Global.Dummy but still does not work.
Has anyone met with such a problem. Any help appreciated
The solution is-
(1) create a Dummy Global in ODI and used as a Start Up parameter variable in your package and generate the scenario
(2) place this dummy variable of the framework of Action of OBIEE when calling the service web - name - GLOBAL setting. MODEL / parameter value - model
OBIEE during the call to the web service ODI, passes a start setting to default ODI (which is undocumented).
-
Hi gurus,
I need a variable that will be used to capture a value @ ODI scenario execution
This value will be used to update a table column.
When I run the script it must invite for the value of this variable.
What I tried: -.
Create a variable: v_test
Data type: alpha-numeric
Keep a history: last value
Refreshing:
Schema: Scott
Select query: select "xyz" of the double
-actually I don't want no matter what value of any table... I don't need this selection of double
When I run the script->
It prompts for the value of "v_test", showing the devault value "xyz".
If I select OK-> it updates the Test_Table as expected.
.... But when I type in the value at the prompt, what it does not update.
Question: -.
How to use a run setting value during execution of the script... Please advise.Hi starak,.
Try this:
-Remove the query from the updating tab.
-In your package, you need a step for the variable to declare mode. You should not have a step in cooling mode.
-For generating a scenario, mean ODI use the variable as a parameter.It will be useful,
JeromeFr -
How to run the ODI scenario via a command prompt
Hi experts
Please let me know if we can launch ODI scenario using the prompt command or any means other than the operator.
Concerning
FrankGo to
/oracledi/bin in the command prompt and call the command startscen with the parameters below. Published by: Elite Sexyno on February 28, 2011 16:19
-
Hello
I'm new to ERPi, but understand on ODI. So I understand how ERPi is configured using ODI. Now, I need to understand the purpose of the ODI scenarios that are imported to ODI. Y at - it a document where I can find the description of each of the scenarios used to ERPi. I use OeBS as source.
Thank you
DevHello Dev,
As you have an understanding of the ODI, you know then "Scénarios" are predefined and packaged solutions/workflows created by the designer.
The "scenarios" are needed to retrieve data from Oracle EBS and PeopleSoft. They are what makes the work behind the scenes of the ERPi software during data extraction/loading phases.
There is no documentation for these; There has no need of documentation. They are not customizable and cannot be changed. Then there would be nothing to really document.
Thank you
-
What type of LKM, IKM modules are used in the scenario of perticular?
Hello
I doubt, what types of modules are used in the scenario of perticular. For example, I created the FILE interface of FILE FLAT DISH.
for this I imported LKM FILE SQL and IKM SQL to ADD the FILES of modules. Executed successfully.
I want to know on "what kind of modules are I have to import, when I try to connect a DB to different DB, flat file DB, flat file to DB etc.
Please send me any document.
Thank you and best regards,
A.kavyakumari.
Have a look on the following document, a bit old but still is a good overview of most of the widely used available KMs
http://www.Oracle.com/technetwork/TestContent/oracledi-km-reference-130306.PDF
-
Loading of the data using the ODI Crores
Hi Experts,
I'm loading data 16.5 crores from source to target with in the only Oracle DB (for source and target Ihave two different schemas) and the target tablespace have 180 GB, whereas I am running using the ODI interface, found the extension tablespace TEMPerror. but I did not have enough space to increase the TEMp tablespace in my PB.
Please help me any other solution to solve the same.
Thank you in advance,
Kind regards
Chaitanya.Hi Chaitanya,
Please add separate column (column sequence number) in the source table and retrieve the data with the sequence number and apply the index on the sequence column.
Add the filter to the sequence column condition in interface and run the interface in order to transmit the data between the source and target wise bouquetfor example: Add the command to the filter condition and transmit values like below
Command: sequnce_column_name between 1 and 100000
sequnce_column_name later between 100001 and 1000000 next sequnce_column_name between 1000001 and 10000000
Continue to run based on the calculation of your previous run time
It will be the word incase there no column of date as lupdated_date, created_date, created_by and updated_by
Kind regards
Phanikanth -
Risks and impacts on the changes in the physical and logical structures used in ODI
What are the risks and impacts on the changes in the physical and logical structures used in ODI?
I wonder what can be changed and the risks and impacts that may occur changes in the physical and logical structures used in projects of ODI?You should not change the name of logic. Because in ODI, each model is connected to a logic diagram.
You shouldn't be changing technology too because that would need a change to all models and the KMs that have been used in the development of interfaces and procedures, etc.Nothing under the physical schema can be changed for example. Connection, user, etc.
ODI uses the logical schema. And it matches the physical schema in the runtime using contexts. -
When importing the scenario of the ODI, I get the warning message
Possible reason for failure analyze the above expression is the value of the empty parameter for ' #EDWH.v_company_id '.
Found variables undefined during treatment: #EDWH.v_company_id
followed by the error message
The classifier already contains an item with the same name
The tool failed with error ERROR_IMPORT code
My questions: do I have to set the missing variable by using the Javascript API file? If so, are there any samples available?
Can you the error message and the failure of the import be the consequence of the missing variable?
Thanks for any suggestions on how to proceed
Thank you for your response.
The error was a bug in the ODI old bridge to import.
By opting for the OEMM 12.2.1.0, which uses straight oracle odi sdk for importation, the problem disappeared.
-
ODI scenario failure during the passage of variables as parameters in the scenarios of the child
I have defined a script in such a way that the variables in this scenario will pull data from other tables of configuration and pass those values as parameters to another this scenario in the first scenario of parent. I tested in DEV and DEV, test environments that are shared with the same topology with repositories different works. It has worked well. But when I moved the code to the QA environment, then I get the following error message. While attemption to run the scenario with the following command,
Execution code:
OdiStartScen '-SCEN_NAME = XXXXX ""-SCEN_VERSION =-1 ""-LOG_LEVEL = 5 ""-PROJECT_NAME. "" "" PASS = # PROJECT NAME. V_PASS""-PROJECT_NAME.» DB_URL = #PROJECT_NAME. V_DB_URL""-PROJECT_NAME.» DB_SCHEMA = #PROJECT_NAME. V_DB_SCHEMA""-PROJECT_NAME.» DB_LINK = # PROJECT NAME. V_DB_LINK""-PROJECT_NAME.» DB_USER = # PROJECT NAME. V_DB_USER ".
Error message:
oracle.odi.oditools.OdiToolInvalidParameterException: error when setting the parameters on the tool
at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:618)
at com.sunopsis.dwg.function.SnpsFunctionBase.getSunopsisApi(SnpsFunctionBase.java:494)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1431)
at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)
at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1066)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: disagreement quote...!
at com.sunopsis.core.SnpsObject.extractParametersLine(SnpsObject.java:174)
at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:580)
... 18 more
The variable values for this new environment a probably double-quotes ("") or a special character which is to 'break' the command line. Use this trick ODI to understand all the variables values used in this step and use the values of the test in a procedure separate with just values, not variables:
http://devepm.com/2014/02/28/execution-variables-trick-for-old-versions-of-ODI/
It will be useful.
-
Programming using the ODI agent?
Hello
I want to program an interface using the scheduling option in ODI11g. For this, I saw somewhere that I need to have the agent that is running. I was able to start the agent of
command line and run the interface. How can program the interface without going through this process. I also noticed that we can run as a windows agent
service in 10g. But I don't see any script or info for 11g. Any ideas on that?
Thanks in advance!
PMIf you do not want to start the agent command line then you can use OPMN to control agent - http://john-goodwin.blogspot.co.uk/2010/12/managing-odi-11g-standalone-agents.html
Your other option is to deploy the J2EE agent in WebLogic, but you would still need start the server managed by a mechanism for management nodes for example or manually create a one-stop service.
Once you have the agent running, you can simply set the interface/scenario of in the designer or operator.See you soon
John
http://John-Goodwin.blogspot.com/ -
Hi guys!
In my package, I used a tool ODI with variable OdiStartScen which is the name of the scenario of the Interface (#SCENARIO_NAME). My Interface is dynamic. Its source is the data store flat file with the resource based on a variable name #FILE_NAME. Now the tricky part. The package execution ends with an error with the interface. If the variable is not specified, then interface ofc will not work because there is no file of this type as a variable name (#FILE_NAME file not found), but if I specify the variable in the Variables tab in the ODIStartScen tool I get an error that this variable is not in the repository to work. How to do things?
Help, please.
Kind regards
PsmakRInsert the variable in the package (assess/refresh) and regenerate the scénarion. It should be about the variables that will be included in the scenario. When you call the script must be defined what is the value to pass to this variable.
Also, you could show us the error message.
-
Have a 11.1.1.7.0 to acchieve ODI scenario
Hi all
I use ODI 11.1.1.7.0 in my project, and I have the script below to perform and please help me with your thoughts.
I have a table called A with 30 columns and the column name is "Comments" and I have another B table with only the column 'comments '. I need to extract 10 columns plus column 'Observations' on the table was the target. But during the loading of the 'Comments' column, I need to look at if comments exists in Table B and if there are otherwise pass comments column pass Null table A to the target. Please tell us how I can achieve this.
Thank you
Dany
Solution1) you can write a view (in SQL) with your logic and then create a data store source (example: src_view_a) that can load data in table B
Option2), you can manage this condition of a mapping by writing a notice online
-
error in execution of using os odi command utility jar file
Hello
I am trying to run the jar file using the command ' java-Xmx3072m-Xms2048m-jar exceltocsv.jar "in my bones odi utility command, but get the error" 'java' is not recognized as builtin or external, an executable program or batch file ".i have installed jdk and configured path."
even order, that I am able to run cmd and no mistake.
Oh, sorry. second process works for autonomous agent where ODI_JAVA_HOME sets in ODIPARAMS.bat
For the local agent try ""% JAVA_HOME%/bin/java " (don't forget to put quotes, because your jdk could be in the directory Program Files)"
If she does not check your envfiroment by the set command
This command generates your environment in the c:/temp/1.txt file
-
Is is possible to the PL/SQL call ODI scenario
Hi all
Can we call PL/SQL procedures in ODI, I would like to know if you can call the ODI in PL/SQL scenarios. If so, can someone explain to me how this is possible.
Thanks in advance
Your plan will look like - it's the infinite loop as long as certain conditions (CHECK at the END)
This package you must start manually.
Then you can start scenarios insertion of records in the table (which controls OdiWaitForData)
Each insert starts the script in OdiStartScen
You can pass the name of the scenario by REFRESH VARIABLE (GET the SETTINGS in this example)
Maybe you are looking for
-
What are the parameters of the correct application
After playing with and evolution of applications. I can play is more videos. More since the update of Java 7, 7, it is as if it does not work. Title bar of my Deviant Art site doesn't display correctly. Here is a list of my installed players Java Con
-
Skype icon, absent from the toolbar
Hello. My Skype account did not work on our 2 PC (have not used on PCs for a while.) Had to update Skype to make it work. Update worked perfectly except the icon Skype in the toolbars of the two computers has turned into an icon of the white page. Ma
-
Im having trouble downloading sp2 for windows.i have windows 7, but when I get sp2 it only gives me them for vista and XP. Should I click on 1 of these or are they bad? Im trying to download messenger but I can not do that until I've installed sp2 an
-
my keyboard on my hp laptop does'nt work another property.
When I use numbers or all keys on the "q - p" rank, look at what is happening; "gt4rg gt4r hy7u hy7u] 9o 8i] 8i"... How can I fix it?
-
Smartphones blackBerry pls help! I m getting desperate:)
Dear all... What can I do? My problem... whenever I want to connect to the world of the app, I put all the news, click on connect... It takes one second and then I STILL got the message after saying authentication... error has occurred please try aga