Load plan execution return code

We want to call the LoadPlan via external scheduler.
The call looks like this:
./startloadplan.sh <MYLOADPLAN> GLOBAL "-AGENT_URL=<MYAGENT>"
The odiagent.log shows me that the loadplan failed. But the Shell Script Return value seems to be always 0.
Is there a way to create a wrapper script for checking whether the loadplan is actually failed.
Can anyone please reply

You should probably follow the topic just below this one : ./startloadplan.sh return code always 0 ;)
Stefan S has maybe developed his own solution.

Similar Messages

  • 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

  • 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

  • Session Task 3 Loading - SS_0 - Load Data FAILS Return Code - 7000

    I cannot figure out why this is happening! Any Help is greatly appreciated!
    Here are tasks 2 & 3 ...
    Operator Session Task:
    Step 2 Loading - SS_0 - Create work table
    Default: Query / Execution Plan
    create table ODI_TEMP.C$_0CONTRACT_AUTOMATION_FACT
    C1_PROCESSINSTANCE_ID NUMBER(20) NULL,
    C2_WORKFLOW_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C3_WORKFLOW_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C4_WORKFLOW_NAME VARCHAR2(100) NULL,
    C5_AGENCY_CONT_ADMIN_NAME VARCHAR2(100) NULL,
    C6_AGENCY_DESIGNATION VARCHAR2(100) NULL,
    C7_AGENCY_INITIATING_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C8_ASSIGNED_CITYATRNY_NAME VARCHAR2(100) NULL,
    C9_AUDITOR_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C10_AUDITOR_SIGN_NAME VARCHAR2(100) NULL,
    C11_AWARD_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C12_BID_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C13_CC_ORDINANCE_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C14_CC_ORDINANCE_NUMBER VARCHAR2(100) NULL,
    C15_CC_ORDINANCE_REQUIRED_FL VARCHAR2(10) NULL,
    C16_CITYATRNY_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C17_CITYATRNY_SIGN_NAME VARCHAR2(100) NULL,
    C18_CITY_PROJECT_NUMBER VARCHAR2(100) NULL,
    C19_CLERK_FILING_NUMBER VARCHAR2(100) NULL,
    C20_CLERK_RECORDER_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C21_CLERK_RECORDER_SIGN_NAME VARCHAR2(100) NULL,
    C22_COMPETITIVE_BID_CMT VARCHAR2(100) NULL,
    C23_COMPETITIVE_BID_FL VARCHAR2(10) NULL,
    C24_CONT_AMENDMENT_NUMBER VARCHAR2(100) NULL,
    C25_CONT_CONTROL_NUMBER VARCHAR2(100) NULL,
    C26_CONT_DESC VARCHAR2(255) NULL,
    C27_CONT_EXIST_TERM_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C28_CONT_EXIST_TERM_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C29_CONT_PROP_TERM_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C30_CONT_PROP_TERM_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C31_CONT_REQUESTOR_NAME VARCHAR2(100) NULL,
    C32_CONT_REQUEST_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C33_CONT_TYPE VARCHAR2(100) NULL,
    C34_CONT_WORK_TYPE VARCHAR2(100) NULL,
    C35_DOLLAR_AMT_PRIOR_CONT_TOTA VARCHAR2(100) NULL,
    C36_DOLLAR_AMT_THIS_REQUEST VARCHAR2(100) NULL,
    C37_DSBO_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C38_INITIATING_AUTHORITY_NAME VARCHAR2(100) NULL,
    C39_MAYOR_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C40_MAYOR_SIGN_NAME VARCHAR2(100) NULL,
    C41_MOFIN_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C42_MOFIN_SIGN_NAME VARCHAR2(100) NULL,
    C43_NEW_TOTAL_IF_EXECUTED VARCHAR2(100) NULL,
    C44_PERSON_PHONE VARCHAR2(100) NULL,
    C45_PREVAILING_WAGE_REQUIRED_F VARCHAR2(10) NULL,
    C46_PROGRAM VARCHAR2(100) NULL,
    C47_REQ_BUSINESS_UNIT VARCHAR2(100) NULL,
    C48_RISK_AND_SAFETY_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C49_TECHSERV_REVIEW_REQUIRED_F VARCHAR2(10) NULL,
    C50_VEN_ADDRESS VARCHAR2(100) NULL,
    C51_VEN_ID VARCHAR2(100) NULL,
    C52_VEN_NAME VARCHAR2(100) NULL,
    C53_VEN_SIGN_DT DATE NULL
    NOLOGGING
    Step 3 Loading - SS_0 - Load Data
    Loading: Query / Execution Plan
    select
    STG_CONTRACT_AUTOMATION.PROCESSINSTANCE_ID C1_PROCESSINSTANCE_ID,
    STG_CONTRACT_AUTOMATION.WORKFLOW_START_DT C2_WORKFLOW_START_DT,
    STG_CONTRACT_AUTOMATION.WORKFLOW_END_DT C3_WORKFLOW_END_DT,
    STG_CONTRACT_AUTOMATION.WORKFLOW_NAME C4_WORKFLOW_NAME,
    STG_CONTRACT_AUTOMATION.AGENCY_CONT_ADMIN_NAME C5_AGENCY_CONT_ADMIN_NAME,
    STG_CONTRACT_AUTOMATION.AGENCY_DESIGNATION C6_AGENCY_DESIGNATION,
    STG_CONTRACT_AUTOMATION.AGENCY_INITIATING_APRV_DT C7_AGENCY_INITIATING_APRV_DT,
    STG_CONTRACT_AUTOMATION.ASSIGNED_CITYATRNY_NAME C8_ASSIGNED_CITYATRNY_NAME,
    STG_CONTRACT_AUTOMATION.AUDITOR_SIGN_DT C9_AUDITOR_SIGN_DT,
    STG_CONTRACT_AUTOMATION.AUDITOR_SIGN_NAME C10_AUDITOR_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.AWARD_DT C11_AWARD_DT,
    STG_CONTRACT_AUTOMATION.BID_DT C12_BID_DT,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_DT C13_CC_ORDINANCE_DT,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_NUMBER C14_CC_ORDINANCE_NUMBER,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_REQUIRED_FL C15_CC_ORDINANCE_REQUIRED_FL,
    STG_CONTRACT_AUTOMATION.CITYATRNY_SIGN_DT C16_CITYATRNY_SIGN_DT,
    STG_CONTRACT_AUTOMATION.CITYATRNY_SIGN_NAME C17_CITYATRNY_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.CITY_PROJECT_NUMBER C18_CITY_PROJECT_NUMBER,
    STG_CONTRACT_AUTOMATION.CLERK_FILING_NUMBER C19_CLERK_FILING_NUMBER,
    STG_CONTRACT_AUTOMATION.CLERK_RECORDER_SIGN_DT C20_CLERK_RECORDER_SIGN_DT,
    STG_CONTRACT_AUTOMATION.CLERK_RECORDER_SIGN_NAME C21_CLERK_RECORDER_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.COMPETITIVE_BID_CMT C22_COMPETITIVE_BID_CMT,
    STG_CONTRACT_AUTOMATION.COMPETITIVE_BID_FL C23_COMPETITIVE_BID_FL,
    STG_CONTRACT_AUTOMATION.CONT_AMENDMENT_NUMBER C24_CONT_AMENDMENT_NUMBER,
    STG_CONTRACT_AUTOMATION.CONT_CONTROL_NUMBER C25_CONT_CONTROL_NUMBER,
    STG_CONTRACT_AUTOMATION.CONT_DESC C26_CONT_DESC,
    STG_CONTRACT_AUTOMATION.CONT_EXIST_TERM_END_DT C27_CONT_EXIST_TERM_END_DT,
    STG_CONTRACT_AUTOMATION.CONT_EXIST_TERM_START_DT C28_CONT_EXIST_TERM_START_DT,
    STG_CONTRACT_AUTOMATION.CONT_PROP_TERM_END_DT C29_CONT_PROP_TERM_END_DT,
    STG_CONTRACT_AUTOMATION.CONT_PROP_TERM_START_DT C30_CONT_PROP_TERM_START_DT,
    STG_CONTRACT_AUTOMATION.CONT_REQUESTOR_NAME C31_CONT_REQUESTOR_NAME,
    STG_CONTRACT_AUTOMATION.CONT_REQUEST_DT C32_CONT_REQUEST_DT,
    STG_CONTRACT_AUTOMATION.CONT_TYPE C33_CONT_TYPE,
    STG_CONTRACT_AUTOMATION.CONT_WORK_TYPE C34_CONT_WORK_TYPE,
    STG_CONTRACT_AUTOMATION.DOLLAR_AMT_PRIOR_CONT_TOTAL C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    STG_CONTRACT_AUTOMATION.DOLLAR_AMT_THIS_REQUEST C36_DOLLAR_AMT_THIS_REQUEST,
    STG_CONTRACT_AUTOMATION.DSBO_APRV_DT C37_DSBO_APRV_DT,
    STG_CONTRACT_AUTOMATION.INITIATING_AUTHORITY_NAME C38_INITIATING_AUTHORITY_NAME,
    STG_CONTRACT_AUTOMATION.MAYOR_SIGN_DT C39_MAYOR_SIGN_DT,
    STG_CONTRACT_AUTOMATION.MAYOR_SIGN_NAME C40_MAYOR_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.MOFIN_SIGN_DT C41_MOFIN_SIGN_DT,
    STG_CONTRACT_AUTOMATION.MOFIN_SIGN_NAME C42_MOFIN_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.NEW_TOTAL_IF_EXECUTED C43_NEW_TOTAL_IF_EXECUTED,
    STG_CONTRACT_AUTOMATION.PERSON_PHONE C44_PERSON_PHONE,
    STG_CONTRACT_AUTOMATION.PREVAILING_WAGE_REQUIRED_FL C45_PREVAILING_WAGE_REQUIRED_F,
    STG_CONTRACT_AUTOMATION.PROGRAM C46_PROGRAM,
    STG_CONTRACT_AUTOMATION.REQ_BUSINESS_UNIT C47_REQ_BUSINESS_UNIT,
    STG_CONTRACT_AUTOMATION.RISK_AND_SAFETY_APRV_DT C48_RISK_AND_SAFETY_APRV_DT,
    STG_CONTRACT_AUTOMATION.TECHSERV_REVIEW_REQUIRED_FL C49_TECHSERV_REVIEW_REQUIRED_F,
    STG_CONTRACT_AUTOMATION.VEN_ADDRESS C50_VEN_ADDRESS,
    STG_CONTRACT_AUTOMATION.VEN_ID C51_VEN_ID,
    STG_CONTRACT_AUTOMATION.VEN_NAME C52_VEN_NAME,
    STG_CONTRACT_AUTOMATION.VEN_SIGN_DT C53_VEN_SIGN_DT
    from ALF_STG.STG_CONTRACT_AUTOMATION STG_CONTRACT_AUTOMATION
    where (1=1)
    Default: Query /Execution Plan
    insert into ODI_TEMP.C$_0CONTRACT_AUTOMATION_FACT
    C1_PROCESSINSTANCE_ID,
    C2_WORKFLOW_START_DT,
    C3_WORKFLOW_END_DT,
    C4_WORKFLOW_NAME,
    C5_AGENCY_CONT_ADMIN_NAME,
    C6_AGENCY_DESIGNATION,
    C7_AGENCY_INITIATING_APRV_DT,
    C8_ASSIGNED_CITYATRNY_NAME,
    C9_AUDITOR_SIGN_DT,
    C10_AUDITOR_SIGN_NAME,
    C11_AWARD_DT,
    C12_BID_DT,
    C13_CC_ORDINANCE_DT,
    C14_CC_ORDINANCE_NUMBER,
    C15_CC_ORDINANCE_REQUIRED_FL,
    C16_CITYATRNY_SIGN_DT,
    C17_CITYATRNY_SIGN_NAME,
    C18_CITY_PROJECT_NUMBER,
    C19_CLERK_FILING_NUMBER,
    C20_CLERK_RECORDER_SIGN_DT,
    C21_CLERK_RECORDER_SIGN_NAME,
    C22_COMPETITIVE_BID_CMT,
    C23_COMPETITIVE_BID_FL,
    C24_CONT_AMENDMENT_NUMBER,
    C25_CONT_CONTROL_NUMBER,
    C26_CONT_DESC,
    C27_CONT_EXIST_TERM_END_DT,
    C28_CONT_EXIST_TERM_START_DT,
    C29_CONT_PROP_TERM_END_DT,
    C30_CONT_PROP_TERM_START_DT,
    C31_CONT_REQUESTOR_NAME,
    C32_CONT_REQUEST_DT,
    C33_CONT_TYPE,
    C34_CONT_WORK_TYPE,
    C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    C36_DOLLAR_AMT_THIS_REQUEST,
    C37_DSBO_APRV_DT,
    C38_INITIATING_AUTHORITY_NAME,
    C39_MAYOR_SIGN_DT,
    C40_MAYOR_SIGN_NAME,
    C41_MOFIN_SIGN_DT,
    C42_MOFIN_SIGN_NAME,
    C43_NEW_TOTAL_IF_EXECUTED,
    C44_PERSON_PHONE,
    C45_PREVAILING_WAGE_REQUIRED_F,
    C46_PROGRAM,
    C47_REQ_BUSINESS_UNIT,
    C48_RISK_AND_SAFETY_APRV_DT,
    C49_TECHSERV_REVIEW_REQUIRED_F,
    C50_VEN_ADDRESS,
    C51_VEN_ID,
    C52_VEN_NAME,
    C53_VEN_SIGN_DT
    values
    :C1_PROCESSINSTANCE_ID,
    :C2_WORKFLOW_START_DT,
    :C3_WORKFLOW_END_DT,
    :C4_WORKFLOW_NAME,
    :C5_AGENCY_CONT_ADMIN_NAME,
    :C6_AGENCY_DESIGNATION,
    :C7_AGENCY_INITIATING_APRV_DT,
    :C8_ASSIGNED_CITYATRNY_NAME,
    :C9_AUDITOR_SIGN_DT,
    :C10_AUDITOR_SIGN_NAME,
    :C11_AWARD_DT,
    :C12_BID_DT,
    :C13_CC_ORDINANCE_DT,
    :C14_CC_ORDINANCE_NUMBER,
    :C15_CC_ORDINANCE_REQUIRED_FL,
    :C16_CITYATRNY_SIGN_DT,
    :C17_CITYATRNY_SIGN_NAME,
    :C18_CITY_PROJECT_NUMBER,
    :C19_CLERK_FILING_NUMBER,
    :C20_CLERK_RECORDER_SIGN_DT,
    :C21_CLERK_RECORDER_SIGN_NAME,
    :C22_COMPETITIVE_BID_CMT,
    :C23_COMPETITIVE_BID_FL,
    :C24_CONT_AMENDMENT_NUMBER,
    :C25_CONT_CONTROL_NUMBER,
    :C26_CONT_DESC,
    :C27_CONT_EXIST_TERM_END_DT,
    :C28_CONT_EXIST_TERM_START_DT,
    :C29_CONT_PROP_TERM_END_DT,
    :C30_CONT_PROP_TERM_START_DT,
    :C31_CONT_REQUESTOR_NAME,
    :C32_CONT_REQUEST_DT,
    :C33_CONT_TYPE,
    :C34_CONT_WORK_TYPE,
    :C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    :C36_DOLLAR_AMT_THIS_REQUEST,
    :C37_DSBO_APRV_DT,
    :C38_INITIATING_AUTHORITY_NAME,
    :C39_MAYOR_SIGN_DT,
    :C40_MAYOR_SIGN_NAME,
    :C41_MOFIN_SIGN_DT,
    :C42_MOFIN_SIGN_NAME,
    :C43_NEW_TOTAL_IF_EXECUTED,
    :C44_PERSON_PHONE,
    :C45_PREVAILING_WAGE_REQUIRED_F,
    :C46_PROGRAM,
    :C47_REQ_BUSINESS_UNIT,
    :C48_RISK_AND_SAFETY_APRV_DT,
    :C49_TECHSERV_REVIEW_REQUIRED_F,
    :C50_VEN_ADDRESS,
    :C51_VEN_ID,
    :C52_VEN_NAME,
    :C53_VEN_SIGN_DT
    Execution Error
    Session Task fails with
    Status: Error
    Return Code: 7000
    java.lang.ClassCastException
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7822)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7546)
    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:7919)
    at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.addBatch(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.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)

    Micheal,
    You didnt specify the KMs that you are using. I guess you are using LKM SQL to SQL or SQL to Oracle.
    From your diagnosis of the timestamp data, I would like to add that while using LKM SQL to SQL, it uses Java APIs to load the data. Java timestamp format is different from Oracle timestamp.
    There is thread that talks about this (File based datastore and using date format in those columns) but am unable to locate it.
    Also, this could be a Java compatibility issue. So upgrading a driver to ojdbc6.jar may help.
    Re: JAVA JDK
    If your source and target are both Oracle, then consider using LKM Oracle to Oracle (DBLINK). This will be superfast compared to other KMs as it does a set based processing vs. row based processing that the SQL to SQL km does.

  • Load Error with return code 7000 when call sqlldr in interface.

    Hi All,
    I have created a interface to load data from 'File' to 'Oracle' in ODI 11g.
    Below are the running order of this interface.
    1 - Loading - SrcSet0 - Drop work view
    2 - Loading - SrcSet0 - Drop Temp Table
    3 - Loading - SrcSet0 - Create Temp table
    4 - Loading - SrcSet0 - Create Work View
    5 - Loading - SrcSet0 - Generate CTL file
    6 - Loading - SrcSet0 - Call sqlldr
    We are getting the following error while running the step 6.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 22, in <module>
    Load Error: See C:\home\oracle\joc\odi/AIM.log for details
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    And it return code 7000 indicated in 'Execution Statistics'.
    If anyone has encountered a similar issue and able to solve it, please share your thoughts with me.
    Thanks in advance for your help.
    Dicksam

    This forum is dedicated to supporting the use of Maven with FMW and the new Oracle Maven Repository.  Given that ODI does not currently provide Maven support, you are unlikely to get a response in this forum.  You might want to try posting in a different forum dedicated to Data Integration, such as the Master Data Management forum.

  • 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.

  • Virtual bus not load: warning setupDiEnumDeviceinterlaced() return code 259

    When I boot my machine, I am starting to get the following error messages.
    setupDiEnumDeviceinterlaced() return code 259
    followed by
    Virtual bus not loaded.
    Does anyone know what this error is please and how I can get rid of it?
    Thanks
    Lee

    To be honest this is the first time that I see such warning
    Si goggled a little bit and found this MS article about the error message: Virtual bus not load
    http://support.microsoft.com/kb/921440
    It looks like the network adapter (LAN or Wlan card) could use a virtual bus driver which cannot be loaded
    However, this story sounds really strange first of all MS article is speaking about Win XP and Windows Server 2003 OS
    I assume your notebook has been equipped with the Vista
    My recommendation is simply; take the Toshiba recovery disk and try to set the notebook back to factory settings. Then test if the error will appear again

  • 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.

  • 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

  • How Do You Restart a Failing Load Plan

    If a Load Plan step fails, say because of some bad data or a bad join, I know how to correct the error and restart the failing step or the failing task in the Operator.
    How do you restart the failing Load Plan or any higher level step in the Operator?
    Right now my Load Plan steps all say 'Restart from failed task'.
    I can't see the Load Plan itself in the Operator, so I can't restart it directly.

    In the Operator, there is an accordion section labeled "Load Plan Executions". You can restart from there.
    Regards,
    Michael Rainey

  • SQL loader return code?

    Hi Guys,
    i use a sqlloader to load the data into database.The data file contains thousands of records but every record start with 'D' and the last record of the file start with 'C' which is a control record.
    i use the sqlloader as below
    LOAD DATA
    TRUNCATE INTO TABLE hold_sa_invoice_line_detail
    WHEN (0001) = 'D'
    (column1 position(0002:0008),
    even if i use WHEN (0001) = 'D' the last record which start with 'C' fail this condition and that record is discarded by the sqlloar
    And i recive the return Code = 2 on unix (Which is a warning).
    it shouldn't be like this because i put a condition....
    do you know is this normal...?

    You haven't specified so far the circumstances under which a possible error message is shown. The fact that you launch the same script against two different oracle versions doesn't mean the script will find the same environment, some errors could have been generated at 8i, meanwhile at 10g it could have found a clean environment. Could you please also compare the generated log file for both executions?
    ~ Madrid
    http://hrivera99.blogspot.com/

  • SQL LOADER  : RETURN CODE differs from 8i to 10.1.0.5

    Customer is using 8.1.7.1.0 and same SQL LOADER script returns RETURN CODE: 2
    However the same script returns RETURN CODE: 0 when using 10.1.0.5

    You haven't specified so far the circumstances under which a possible error message is shown. The fact that you launch the same script against two different oracle versions doesn't mean the script will find the same environment, some errors could have been generated at 8i, meanwhile at 10g it could have found a clean environment. Could you please also compare the generated log file for both executions?
    ~ Madrid
    http://hrivera99.blogspot.com/

  • 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.

  • How to retrieve the return code of the scenario execution

    Hi,
    I do see the return code in the execution tab of the scenarios..
    I need to use those values in a package.
    So how do i retrieve those value and use in a variable..?
    In which table, i find this value?
    Please respond as soona s possible. This is very critical for me.
    thanks,

    Yes, reference the Java API package oracle.odi.domain.runtime.session - this package contains classes for managing Oracle Data Integrator Sessions and related objects.
    In this package is the java class OdiSessionStepLog which has the method getReturnCode() which will do the same as the earlier substitution variable example

  • 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

Maybe you are looking for

  • Unzip modifies links

    If I unzip a file using BOMArchiveHelper (the system default) the EPS links for a Quark or InDesign file will show up as "modified". If I use Stuffit Expander to unstuff the file, all the links will be "OK". TIFF and JPEG files are unaffected. Does t

  • Proximity sensor--will Apple replace?

    I am having some issues with the sensor, if I take it into the genius bar and tell them that I'm having an issue with it, will they replace my phone? it is getting annoying

  • Business Groups in self service

    How to check if the employee's Business Group has self service enabled or not? Thank You KK

  • I no longer have a websiteID bar. Where did it go and how do i put it bach

    The website id bar has vanished and i can not find out how to replace it. All i have is the blue- aska a question bar then the web page tab and then the site but no bar with the web address or a way to go back and forth from previous to current site.

  • "Active" checkbox in the BP master

    Dear all, May i know what is the "Active" checkbox used for in the left hand side bottom corner of the BP master ? Thank you very much for your help