ODI Multi Execution of Load Plans

Hi,
I am using ODI version 11.1.1.6.0
I wanted to know the number of instance running for my load plan. I tried using ODI APIs (odiRef) but no results.
Can anyone help on this topic?
Thanks in advance.
Regards
Gaurav

AJ,
1) We see the status remains in R state if Load plan fails during execution of ON CONNECT. Status does not change until the ODI studio is closed (Version is 11.1.1.6).
2) Can we run your SQL as part of a Load Plan(load plan executes on different target database-different from work repository instance)?
3) Is it possible to get number of load plan instance in run state through some API or class in ODI like [http://docs.oracle.com/cd/E28389_01/apirefs.1111/e17060/oracle/odi/runtime/agent/invocation/LoadPlanStatusInfo.html] ? If yes, please help with some example.
Thanks

Similar Messages

  • ODI 11g, Issue with Load plan variable in CASE WHEN STEP

    Hi,
    I am trying to retrieve value of the current context using the following code in refreshing variable:
    Variable name: Context
    Refreshing Code: select  '<%=odiRef.getContext( "CTX_Name" )%>'  from dual
    The variable is returning correct results when I refresh / Call it as part of Run Scenario step.
    Requirement: I want to use the variable Context in CASE step, depending on the value it results I want to execute a selective set of scenarios. I have defined case when steps per the requirements.
    Issue: The behavior of the variable is not as expected when used in CASE WHEN step. Load plan execution always triggers only ELSE part of CASE WHEN step.
    I have tried force refresh option in CASE STEP on the variable Context.
    Need your help and advice on how to fix the issue.
    Thank you,
    Bharani

    HI Bharani,
    Below link may helps you about load plan in ODI
    Help on Load Plan Execution
    Regards,
    Phanikanth

  • Load Plan Execution Control

    Hello,
    I have following requirement for execution of Load Plan:
    1. Do not allow execution of the Load Plan if it is already running?
    2. Do not allow execution of the Load Plan 1 if Load Plan 2 is executing?
    Can I achieve the requirement through some ODI API's that give me information about Load Plan run which can be embedded as a check in ON CONNECT? or some better way?
    Thanks
    AJ

    Hi.
    1) I don't know if its possible
    2) I don't know if it's possible to achieve what you want from one load plan to another.
    You may do the following:
    1 - Create a table with the load plan name or ID and the dependency between them (like a parent-child table) and put start and end date times or flag attributes to inform the execution start and finish.
    2 - Create one or more package or procedure to control the finish of one load plan and start of the other. Use the ODITimeWait and a variable to check the value of the flags in a loop.
    3 - Put the call of these packages or procedures in the beginning of each load plan so he may start but will continue only if the parent load plan finished sucessfuly.
    May be a little complicated in the beginning but worth a try and you can attach as many load plans you want.
    OR
    1 - Create a package with a call to the child load plan using OdiStartLoadPlan
    2 - Add the package scenario to the end of the first load plan.
    Any other idea will be greatly appreciated.
    Cheers.

  • Load plan not starting from point of failure in obia 11

    hi,
    I am using obia 11..1.1.7 & once load plan is started. few session are failed due to duplicates. After removal of duplicates, once i start load plan from configuration manager. It is starting again from start not from point of failure. I tried restarting load plan from ODI studio also from load plan & scanarios too but it again started from start not from point of failure.
    Can someone explain how to use ODI start from point of failure feature in OBIA.
    Thanks,
    Paresh

    JamesW wrote:
    That's exactly that. Shutdown the database. make the correction in the PFILE, started the DB using the PFILE and then created a new SPFILE .. Restarted the DB (using the SPFILE), restated the upgraded assist.. its not at 9% and running
    Pesky Oracle Thanks guys for your help
    FWIW, and for your future understanding, you didn't actually have to *start* the database with the pfile in order to create the spfile.
    In this example, I don't even have a database named fubar ...
    oracle:fubar$ pwd
    /u01/app/oracle/product/11.2.0/db_1/dbs
    2013-08-15 10:52:29
    oracle:fubar$ ls -l init*
    -rw-r--r-- 1 oracle oinstall 2851 May 15  2009 init.ora
    -rw-r----- 1 oracle oinstall   35 Jan 31  2013 initorcl.ora
    2013-08-15 10:52:36
    oracle:fubar$ ls -l spfile*
    -rw-r----- 1 oracle asmadmin 2560 Aug 15 10:47 spfilekilroy.ora
    2013-08-15 10:52:39
    oracle:fubar$ export ORACLE_SID=fubar
    2013-08-15 10:52:48
    oracle:fubar$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Aug 15 10:52:53 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> create spfile from pfile='init.ora';
    File created.
    SQL> exit
    Disconnected
    2013-08-15 10:53:05
    oracle:fubar$ ls -l spfile*
    -rw-r----- 1 oracle asmadmin 1536 Aug 15 10:53 spfilefubar.ora
    -rw-r----- 1 oracle asmadmin 2560 Aug 15 10:47 spfilekilroy.ora
    2013-08-15 10:53:07
    oracle:fubar$

  • BI Apps ODI Load Plan Execution Error and Question on Rerun

    I am following the technetwork Cookbook: Installing and Configuring Oracle BI Applications 11.1.1.7.1 to install and configure my first BIApps with ODI. Smooth until I execute the Load Plan.
    Following errors were found on first attempt of execution. Without doing any change, I re-executed the load plan, error again but this time the message is difference (2nd attempt)
    Question:
    - How shall I start to diagnostic the ODI error?
    - Apparently there are something left in the failure execution, how I can clean it up for reruning the Load Plan?
    Many thanks.
    ODI errors on first execution
    ODI-1519: Serial step "Start Load Plan (InternalID:1500)" failed because child step "Global Variable Refresh (InternalID:2500)" is in error.
    ODI-1519: Serial step "Global Variable Refresh (InternalID:2500)" failed because child step "1 Domain (InternalID:5500)" is in error.
    ODI-1519: Serial step "1 Domain (InternalID:5500)" failed because child step "2 Domain SDE (InternalID:35500)" is in error.
    ODI-1519: Serial step "2 Domain SDE (InternalID:35500)" failed because child step "Serial (InternalID:36500)" is in error.
    ODI-1519: Serial step "Serial (InternalID:36500)" failed because child step "3 SDE General Domain (InternalID:54500)" is in error.
    ODI-1519: Serial step "3 SDE General Domain (InternalID:54500)" failed because child step "Load Target Table (InternalID:55500)" is in error.
    ODI-1519: Serial step "Load Target Table (InternalID:55500)" failed because child step "EBS_12_1_1 - DSN 1000 (InternalID:56500)" is in error.
    ODI-1519: Serial step "EBS_12_1_1 - DSN 1000 (InternalID:56500)" failed because child step "DOMAIN (InternalID:57500)" is in error.
    ODI-1519: Serial step "DOMAIN (InternalID:57500)" failed because child step "Parallel (InternalID:58500)" is in error.
    ODI-1518: Parallel step "Parallel (InternalID:58500)" failed; 5 child step(s) in error, which is more than the maximum number of allowed errors (0) defined for the parallel step.  Failed child steps: COMMON (InternalID:59500), HUMAN_RES (InternalID:90500), FINANCIALS (InternalID:95500), SUPP_CHAIN (InternalID:122500), PROJECTS (InternalID:98500)
    ODI-1518: Parallel step "COMMON (InternalID:59500)" failed; 11 child step(s) in error, which is more than the maximum number of allowed errors (0) defined for the parallel step.  Failed child steps: SDE_ORA_DOMAINGENERAL_PRODUCT_CLASS (InternalID:69500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS PAY_GROUP (InternalID:88500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS MARITAL_STATUS (InternalID:85500), SDE_ORA_DOMAINGENERAL_PRODUCT_MASTERORG (InternalID:73500), SDE_ORA_DOMAINGENERAL_PRODUCT_CATEGORYNAME (InternalID:67500), SDE_ORA_DOMAINGENERAL_STATE (InternalID:61500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS CUSTOMER_CATEGORY (InternalID:83500), PRODCAT (InternalID:75500), SDE_ORA_DOMAINGENERAL_FLEXFIELD (InternalID:89500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS ORGANIZATION_SIZE (InternalID:82500), UOM - Serial (InternalID:78500)
    ODI-1217: Session SDE_ORAR1211_ADAPTOR_SDE_ORA_DOMAINGENERAL_PRODUCT_CLASS (38500) fails with return code 8000.
    ODI-1226: Step Run SDE_ORA_DomainGeneral_Product_Class fails after 1 attempt(s).
    ODI-1240: Flow Run SDE_ORA_DomainGeneral_Product_Class fails while performing a Integration operation. This flow loads target table W_DOMAIN_MEMBER_GS.
    ODI-1228: Task SDE_ORA_DomainGeneral_Product_Class (Integration) fails on the target ORACLE connection BIAPPS_DW.
    Caused By: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with matching protocol stack...
    ODI errors on second execution
    ODI-1519: Serial step "Start Load Plan (InternalID:1500)" failed because child step "Global Variable Refresh (InternalID:2500)" is in error.
    ODI-1519: Serial step "Global Variable Refresh (InternalID:2500)" failed because child step "1 Domain (InternalID:5500)" is in error.
    ODI-1519: Serial step "1 Domain (InternalID:5500)" failed because child step "2 Domain SDE (InternalID:35500)" is in error.
    ODI-1519: Serial step "2 Domain SDE (InternalID:35500)" failed because child step "Serial (InternalID:36500)" is in error.
    ODI-1519: Serial step "Serial (InternalID:36500)" failed because child step "3 SDE General Flexfield (InternalID:37500)" is in error.
    ODI-1519: Serial step "3 SDE General Flexfield (InternalID:37500)" failed because child step "Finalize Flexfield (InternalID:50500)" is in error.
    ODI-1519: Serial step "Finalize Flexfield (InternalID:50500)" failed because child step "EXEC_TABLE_MAINT_PROC (InternalID:51500)" is in error.
    ODI-1217: Session EXEC_TABLE_MAINT_PROC (107500) fails with return code 20000.
    ODI-1226: Step TABLE_MAINT_PROC fails after 1 attempt(s).
    ODI-1232: Procedure TABLE_MAINT_PROC execution fails.
    ODI-1228: Task TABLE_MAINT_PROC (Procedure) fails on the target ORACLE connection BIAPPS_DW.
    Caused By: java.sql.SQLException: ORA-20000: Error creating Index/Constraint : W_FLEX_SQL_G_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

    Hi,
    The first error happened is
    ORA-12516, TNS:listener could not find available handler with matching protocol stack...
    The above is due to the listener been disconnected while the LP is executing. This can be solved by restarting the load.
    The second error happened is
    ORA-20000: Error creating Index/Constraint : W_FLEX_SQL_G_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    The above is due to the duplicate records found in the table w_flex_sql_g. You can solve this by deleting the duplicated records in that table like referred in the below link
    OBIEE, Endeca and ODI: BIApps and ODI 11.1.1.7.1 Full Load
    Regards,
    Saro

  • Send a Failure Email Notification After Load Plan execution in ODI 11g

    Hi Experts,
    Greetings!
    I am trying to send an email if any of the step fails during Load Plan execution. Irrespective of the failed object, only 1 email should be sent to the Administrator. I unable to do this. Mails are getting sent for the no of times the no of object fails. For eg if 10 out of 100 steps fails, 10 emails are getting sent. I need to send only 1 email.
    I am using ODISendMail.
    I have tried various combinations however, all in Vain.
    For instance:
    root step --> Exeception Step (Send Failure Email) and Execption behaviour (Run Exception and Ignore). Using this because, I dont want to stop the load plan on the step failure.
    Interface1: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Exception not getting executed.
    Please help.
    Regards,
    Andy

    Thanks SH.
    I tried your suggestion as per below.
    1. Created global variable "v_cnt" with default value "0"
    2. Created package "pkg_v_cnt" to increment the variable by 1
    3. created package "pkg_sendError_Email" to check if v_cnt > 0 then Send Error Email.
    For Instance, the loan plan looks like this:
    root step --> Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Raise)
    Interface1: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Send Error Email (pkg_sendError_Email)
    The issue here is that, the variables are not getting the incremented value and hence unable to send email . The variable value remains "0" even after execution of the exception steps when both interfaces fails.
    Pls help.
    Thanks,
    Andy

  • Load Plan and empty variables on ODI 11G

    Hi everyone,
    I am working with ODI 11g (11.1.1.7.0) and I want to setup a variable with the Load Plan, however I am not able to update and retrieve the variable value inside of a case that is always keeping the initial value. Even the operation history shows the variable value empty. Have you ever used Load plan and noticed this strange behavior?
    Regards,
    Angelo

    Okay let me try to help you on this.
    Oracle Data Integrator agents process each scenario execution instance as a session. Each session exists in the agent as a separate thread of the agent Java process.
    When a scenario is executed on an agent, the agent creates a session in the repository that corresponds to this scenario's instance. The agent reads each task of this session from the repository, processes it, and writes the result - the return code, message and tasks metrics such as the duration or number of rows processed - into the repository.
    Hence multiple session multiple thread.
    Hope you are clear now.
    Thanks.

  • Load Plan Restartability features not visiable from ODI console (EWR)

    Hi,
    We are trying to use ODI console in TEST environment(Execution work Repository) to perform restartability of Load Plan. But when we right click on the failed LP, Restart link is not visible. I can do the same functionality using ODI console in DEV (Development work repository). Does this restartability feature is not available using ODI console of EWR?
    Thanks
    Sanjeet

    Hi Sanjeet,
    Based on the documentation here (http://www.orastudy.com/oradoc/selfstu/fusion/integrate.1111/e12643/odi_console.htm#CIAEGCDE), it looks like the Load Plan must be in error state and another instance of the Load Plan cannot be running in order to restart.
    Regards,
    Michael Rainey

  • Load Plan parallel execution hanged after data warning

    We are having 9 scenarios executing in parallel in a Load plan. Whenever we get data quality warning for certain interface, the error data get written to E$ table, and execution of this scenarios get completed with warning yellow sign. But after this scenario next scenario didn't execute and LP remain in the running mode.
    But when I break the parallel steps in a group of 2 scenarios, it run fine and completed all the steps even after warnings.
    Does this means it depend on Agent setting, as currently we have only one agent setup on weblogic server.
    Thanks
    Sanjeet Singh
    Edited by: 963648 on Oct 7, 2012 2:36 AM

    There was Oracle bug "Bug 13324950 : LOAD PLAN EXECUTION REMAINS IN RUNNING STAT WHEN ONE PARALLEL SCEN TRACKS ERRORS"
    Patch 14550964: LOAD WHEN USING THE ODI LOAD PLAN, THE LOADING STOPS WHEN THERE IS A WARNING to fix the issue.Pls note when you search this patch in the system, it will return two patches for 11.1.1.5 and 11.1.1.6.3 receptively. Pls choose the right version.

  • Early execution of scheduled load plan

    Hi All,
    Can anyone help me
    In my Project, production environment they scheduled 2 loadplans ie fulltest & odscopies
    so what happen here is in fulltest scheduled at every sat 1.00am, having 7 scenarios with 3 are parellel, in that 2 scenarios has executed befor the scheduled time and again exectuted scheduled time
    why its runs we are not able to found it and its do this week only never happen previosly ?
    Thansk in advance
    srikanth

    Hi.
    1) I don't know if its possible
    2) I don't know if it's possible to achieve what you want from one load plan to another.
    You may do the following:
    1 - Create a table with the load plan name or ID and the dependency between them (like a parent-child table) and put start and end date times or flag attributes to inform the execution start and finish.
    2 - Create one or more package or procedure to control the finish of one load plan and start of the other. Use the ODITimeWait and a variable to check the value of the flags in a loop.
    3 - Put the call of these packages or procedures in the beginning of each load plan so he may start but will continue only if the parent load plan finished sucessfuly.
    May be a little complicated in the beginning but worth a try and you can attach as many load plans you want.
    OR
    1 - Create a package with a call to the child load plan using OdiStartLoadPlan
    2 - Add the package scenario to the end of the first load plan.
    Any other idea will be greatly appreciated.
    Cheers.

  • Case when condition in ODI Load Plan

    Hi All,
    Created a project variable(VAR_X) which is a text type and it can be refreshed by querying in some database.
    Created a Load Plan and added a Case step by using VAR_X
    with following logic
    Case VAR_X
    when value ='X'
         run_x_scenario.
    when value='Y'
         run_y_scenario.
    else
    but whenever I give start up value X or Y ,variable unable to evaluate the when condition provided in the load plan.
    always its taking else step
    Case VAR_X
    else
    but its working when I evaluate with numeric number like when value =1 etc (here I changed variable datatype to numeric)
    Any pointers will be appreciated.
    Thanks,
    Aravind

    It may be due to the quotes you have added in your when clause. Can you try it without quotes.

  • Unable to refresh variable definition in ODI Load Plan

    Hi All,
    We recently removed the variable definition and changed it to default value. After that we tried to refresh the variable in  Load plans / Scenarios but it still shows old SQL. Can you please suggest if there is a way to force refresh the variable definitions in load plans? We tried removing and re-adding the variable but that didn't help. Last resort will be to recreate the load plans but we are trying to avoid that.
    Thanks,
    Andy

    Hi Alastair,
    Thanks for the reply. Actually variable is returning the correct value. Only problem is that in the Load Plan's variable section variable still shows old definition even after trying to refresh n number of times and also tried removing it from load plan and then inserting it back in after changing the definition. We don't want to migrate load plan like this. Kindly suggest.
    Thanks,
    Andy

  • Load Plan in oracle bi Applications Configurations Manager creating issues

    Hi All,
    I have installed oracle data integrator + BI Apps. I had created a load plans in Administer Execution Plans (ie. select payroll subject area ) to load payroll fact. Everything went will till this point.
    But when i start executing the package i am getting weird errors.The errors are as follows:
    In the SDE_ORA_TRANSACTION_TYPEDIMENSION_PO_LINES_TYPE package is failing in the step "Insert flow into I$ table" . When i checked the logs ===> "insert /*+ APPEND */ into TEMP_BIAPPS.I$17_W_XACT_TYPE_DS".. I can see that it is using "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" directly.
    from     TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON LKP_XACT_TYPES.XACT_TYPE_CODE = PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE) ON LKPTRANS.XACT_TYPE_CODE1 = PO_LINE_TYPES_V.PURCHASE_BASIS
    So its throwing invalid identifier as we are executing this in the data ware house and PO_LINE_TYPES_V is in EBS.
    When i do execute this directly from the ODI Designer by executing the package i am not getting this error. Instead of the "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" i was getting the " C1_XACT_TYPE_CODE".
    FROM
    TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON C14_XACT_TYPE_CODE = C1_XACT_TYPE_CODE) ON C13_XACT_TYPE_CODE1 = C3_XACT_TYPE_CODE1
    Can any one let me know how i can resolve this issue ?

    Hi ,
    We are also facing same issue while using inline view IKM.
    BeanShell script error: Sourced file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : Attempt to resolve method: parseFromClause() on undefined variable or class name: InlineView : at Line: 5 : in file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : InlineView .parseFromClause ( snpRef .getFrom ( ) )
    BSF info: Build Java String at line: 0 column: columnNo
    out.print("\"\"\"\n") ;

  • Load Plan and Java Virtual Machine

    Hi,
    We're think about using ODI 11g Load Plan, but I've got a question about their behaviour.
    Suppose I've got a load plan that launches 2 scenarios in parrallel with standalone agent.
    Will ODI launch 2 Java Virtual Machine "as if we just launch 2 ODI commands (startscen.bat)" or will it use only 1 Virtual Machine ?

    Okay let me try to help you on this.
    Oracle Data Integrator agents process each scenario execution instance as a session. Each session exists in the agent as a separate thread of the agent Java process.
    When a scenario is executed on an agent, the agent creates a session in the repository that corresponds to this scenario's instance. The agent reads each task of this session from the repository, processes it, and writes the result - the return code, message and tasks metrics such as the duration or number of rows processed - into the repository.
    Hence multiple session multiple thread.
    Hope you are clear now.
    Thanks.

  • W_gl_balance_a duplicating/growing data with incremental load plan

    Hi, all!
    I'm executing incremental load plan for Financial Analytics Offering and I'm facing the data doubling/aggregating in every execution.
    Any one faced this problem?
    Solutions Versions:
    - OBIA 11.1.1.7.1
    - OBIEE 11.1.1.7.131017
    - ODI 11.1.1.7.0

    Hi, Sher Ullah Baig!
    I was openned a SR to Oracle, but I still waiting response about 2 weeks.
    Thanks and Regards!
    Fernando Gonçalves
    E-Novasys Business Intelligence Team

Maybe you are looking for