Scenario execution ???

hi,
i want to stop the scenario execution after a fixed amount of time.i scheduled it daily and also set the stop after execution constarint as 30 min while scheduling .also my repetition tym is of 5 min. but infact the scenari keeps on getting executed even after 30 min .
pls suggest

Hi
We currently encounter exactly the same issue that yours.
"odi error message : agent port is malformed"
we try to launch ODI package using the http method (there is an example on ODI server, it uses startscen.do page)
How do you manage to overpass this issue?
THanks in advance
xavier

Similar Messages

  • Return Code for scenario execution

    When we execute an interface,package or scenario.
    We can go in execution tab and see the start time , end time and Return code which has values like 0,7000,1722,1777 etc.
    This value is fetched from odi system table :-snp_sess_task_log.
    This table contains the log status for an execution . it contains start time, end time ,status code and all.
    My problem is that i want to know which table stores the status code that table snp_sess_task_log picks from.
    I mean is there any master table containing all the error codes/status codes that can occur in a scenario execution?

    I mean is there any master table containing all the
    error codes/status codes that can occur in a scenario
    execution?The code and the message come from the RDBMS...
    But they are stocked on a table after raising.
    Try this on your work rep connexion:
    SELECT *
    FROM SNP_STEP_LOG L, SNP_SESS_STEP SS,SNP_SESSION S,SNP_EXP_TXT X
    WHERE
    L.SESS_NO = SS.SESS_NO AND
    L.NNO = SS.NNO AND
    S.SESS_NO = L.SESS_NO AND
    STEP_STATUS = 'E' AND
    L.I_TXT_STEP_MESS=X.I_TXT

  • 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

  • Scenario execution with log level Zero

    I am executing the scenarios with log level zero, but it purges the operator logs on successful execution. With log level Zero, is it possible to stop the automatic purge of the operator logs on successful execution?

    I just get "SnpSession does not exist" error on this, this error is generated if we don't have an entry for that scenario in SNP_Session table. However, ODI if is provided with log level 0 deletes corresponding entries from SNP_Session table on successful completion of a scenario. Which is also happening in my case and entries are being deleted from table for Scen B and Scen C, but since Scen fails it remains in the table. Again, Once I have gotten the log_level in a variable in Scen A i am just making use of that variable in the subsequent scenarios. Also, when executed with log level 1, 2, 3, 4, 5 it works jolly good.

  • Scenario execution error ORA-21561

    I have scheduled a scenario in ODI to run hourly. Last night one execution was failed with Error message "ORA-21561: OID generation failed". But all other execution are running properly other than that particular one. What is the reason for this?

    sugatha,
    Check the metalink bug 6637514.
    This may be the reason of failure of only one scenario out of several.

  • How to pass a value to a variable at the time of scenario execution

    Hi All,
    I need to develop a ODI scenario, wiht below requriments.
    I have to move data from flat file to Target DB.
    flat file name is not consistent, we have to pass file name at the time of scenario excution.
    Could any of help me how to build this ODI scenario.
    Appreciate your help.

    In the datastore where you have filename in the "Resource Name", enter a variable #myVar
    You need to recompile your scenario after this change has been done.
    And when you execute the scenario, pass along the parameters "-Project.myVar=c:\filename.txt"
    Probably, this link may help you http://blogs.oracle.com/dataintegration/2009/04/using_parameters_in_odi_the_dy_1.html

  • Scenario Execution in Sequence

    Hi Guys
    i have two scenarios
    1) JDBC1--> XI --> RFC1
    2) JDBC1--> XI --> RFC2
    RFC business logic of both uses both creating document based on Movement Type
    My concern is both RFC1 and RFC2 should not work in same time there should be some time gap for both so locks wont happen while bacth characteristics updation , where in two RFC uses.
    How to make sure that RFC1 executes first and next RFC2 ????
    Here i have configured first scenario tested and all fine , now suggest any idea without using BPM for the above requirement.
    rgds
    srini

    Hi
    Well last question i hope
    CC_JDBC_Adapter1 ---> created
    CC_JDBC_Adapter2 ---> created
    This t
    two adapter has poll daily contionusly , but only requirement JDBC1 and JDBC2 should have 8 mins gap.
    i have selected "Availabilty Time" - Daily
    1) JDBC1 --> At(Time) 00:00:00 ??   For Duration --?? 8 Mins
    1) JDBC2 --> At(Time)  ?? 00:00:00  For Duration --?? 16 Mins
    Am i doing right
    rgds
    srini

  • Scenario execution errors not logged

    Hi,
    in production environment, we start our scenarios by means of startscen.bat.
    Sometimes, when an error occurs, startscen.bat returns an error which does not appear in the operator log (scenario seems to be still running).
    Has someone been faced to such a behaviour? What can the problem come from?
    Thanks in advance for your tips.
    Fredd.
    Edited by: fredd2 on Feb 16, 2009 12:19 PM

    Hi Bhabani,
    Thanks for the reply.
    I am afraid that this is a major issue for me, I do not want to re-query the source table for each target table, but on the other hand I cannot fail the process for each invalid record and I need the logging.
    Can you think of a workaround for my use case?
    Thank you!

  • Metadata Navigator - Scenario execution error

    Hello,
    We have installed Metadata Navigator running under Sun App Server
    (it is J2EE 1.4 compliant) with ODI v10.1.3.4.0. It seems to work
    fine except for a couple of problems. The main one is when we
    execute one of our scenarios we always get:
    java.lang.NumberFormatException
         at java.math.BigDecimal.<init>(BigDecimal.java:368)
    It's not obvious why, although I'm beginning to suspect it's related
    to numerical variables appearing as (for example) 99.0 in 10.1.3.3.0
    and as 99 in the latest version. Any suggestions please?

    No replies from anyone else but I've found the problem. Metadata Navigator, when
    executing scenarios, will not tolerate using "numerical" as a variable type. I
    changed them all to "alphanumeric". This completely fixed the problem. (The
    variables were all integer.)

  • Scheduled scenario execution failures

    Hi,
    I am facing some weird situations.
    Currently we have scheduled execution of Packages in morning. Now some of the packages (Actually procedures in packages) are failing in scheduled execution but when i re execute same procedure in say 5 minutes are so they execute successfully.
    I am using Oracle as source and destination database.
    What would be exact problem?
    would it be with databases?
    Thanks,
    Mahesh

    Hi Bhabani,
    I have a kind of similar procedure used for 5 different factories with slight changes in it say PROC_A,PROC_B,PROC_C,PROC_D ,PROC_E..
    All of them has some date related functions .
    The failing of procedures is not specific to any procedures but failures are same.
    Error givrn over here is
    ODI-1228: Task PROC_POZ_BOSS_OMP_BOSSWORKORDER (Procedure) fails on the target ORACLE connection Staging POZ ODI.
    Caused By: java.sql.SQLDataException: ORA-01861: literal does not match format string
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
    But strange thing id that as soon i reexecute the same code in SQL,or PROCEDURE in ODI both executes fine.
    Even without much difference of a time.
    And yes Agent was up at that time.
    Currently no jdk issues are faced yet.
    Thanks,
    Mahesh

  • Invoking a scenario using web service

    Hi Experts,
    Could anyone pls suggest how to pass variables from SOAP to ODI 11g(11.1.1.6.3)
    Here we are using wsdl utility to invoke a scenario using web service and trying to pass a variable like the below
    The scenario is triggered successfully without passing a parameter.
    But when i try to pass a variable like the below,am getting error
    Variables name='PROJECT_CODE'
    Variables value='JI-2015'
    In ODI 11g, i have generated a scenario with a variable PROJECT_CODE as a declare variable and tried triggering from both the environments
    From ODI 11g:
    When I try to trigger the scenario from wsdl, in that variable step(in operator), I got error as ODI-17546: Specified variable not found in the Repository
    But in the work repository SNP_VAR table I could still see the variable name under VAR_NAME column.
    From ODI 10g:
    When i try to do the same from odi 10g, the scenario execution is success.
    But the variable had taken only NULL value instead of taking the value which i passed from wsdl.
    Could you pls advise where am going wrong

    variable should be passed in the soap message by adding variables elements. Refer to Note ID [1499852.1]
    <Variables>
    <Name>Project.Variable1</Name>
    <Value>Variable1Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable2</Name>
    <Value>Variable2Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable3</Name>
    <Value>Variable3Value</Value>
    </Variables>

  • Simple (File-XI-File)scenario

    Hi,
    I am going through Venkat Donela's simpe (File-XI-File)scenario Part1 and part2.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1345. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But my XI did not pick up the input file. I use SXMB_MONI and look at the message monitoring. It says "No message has been selected'. I don't see "adapter monitoring" option on my "Runtime WorkBench".
    Is there anybody could tell me how I can monitor the scenario execution? I checked the every step states in Venkat Donela's sample.
    Any comments and advice will be highly appreciated.
    Meiying

    Hi,
    The best way to check if your file is being picked is to set the "Processing Mode to Delete"....So then you will know if your file is actually being picked...
    Also go to Message Monitoring of RWB and check for the status. Because if you have content conversion problems then it will show there in MDT(Message Display Tool under Message Monitoring).
    And if you are using NFS connection for Sender File Adapter, try to check for the checkBox "ReadOnly Files".
    Pls go through the explanation of a simmilar scenario that i have explained below and compare it with what you have done..
    Please go thru the following links and clear all your doubts.
    Communication channel:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/b11c409ce22402e10000000a1550b0/frameset.htm">Assigning Communication Channels</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/d5653fd1d3b81ae10000000a114084/content.htm">Communication Channel</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">Configuring the Sender File/FTP Adapter</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring the Receiver File/FTP Adapter</a>
    Receiver agreement:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/56/02e63f48e58f15e10000000a155106/frameset.htm">Receiver Agreement</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c1/5194426b44c56ae10000000a155106/frameset.htm">Creating a Receiver Agreement</a>
    Sender agreement:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/73e03fc2269615e10000000a155106/frameset.htm">Sender Agreement</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/522041cfb7f423e10000000a155106/frameset.htm">Creating a Sender Agreement</a>
    For detailed info, I would suggest that you go through these weblogs:
    <a href="/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1">Introduction to simple(File-XI-File)scenario for Starters</a>
    <a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2">Introduction to simple (File-XI-File)scenario for starters part2</a>
    I hope it helps.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Pkg execution session id in all tables and Session Id of each interface

    Hi
    I am have one master package executing all interfaces for Staging and Target. Each staging interface loads the data from source to staging tables and target interface loads data from staging to Target. Each table has a column named ETL Batch Id and ETL Session Id. Our designer asked us to populate the ETL Batch Id with the Pkg execution id which will be same in all tables and also the ETL Session Id with the respective interface scenario execution session id which will be different in each table.
    Question: 1. What is the purpose and advantage of storing ETL Batch Id in each table?
    2. What is the purpose and advantage of storing ETL Session Id in each table?
    3. Do I need both? (1 and 2)
    BTW the ET design is for Star Schema (Data mart)
    Thanks
    OBIEE Fan

    This is really a question for your designer - there may be valid reasons why you'd want to store the session ID - maybe to help with break analysis or data quality monitoring. If you store the session ID in a table then you should be able to work out the "batch ID" by looking at the work repository/operator. But again, whether you "need" them is a question for your designer.
    ODI may update rows as well as insert, so there may be considerations there as to how you tell the difference.
    Edited by: _Phil on Oct 9, 2012 9:45 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Need to automate odi scenario through windows

    Hi,
    i need to run an odi scenario through windows scheduler.
    Please let me know.
    Thanks,

    Try creating a BAT file with the scenario execution written for the command line. Here's an example:
    How to run ODI scenario using command prompt
    Then schedule the BAT file through Windows task Scheduler:
    http://www.iopus.com/guides/winscheduler.htm

  • Restart Scenario based on certain exceptions

    Hi! I like to how whats the best way of restarting scenario, How can we restart scenario for certain known exceptions. Is there any way to caprure the errors for running the scenario and check those exceptions to auto restart scenario.
    In other way how can we do Error recovery: making certain types of errors auto-restarting (auto-recovery) Specifically, recovering from a certain class of exceptions/errors.
    Thanks

    Hi,
    There is an API to get the last error, the "getPrevStepLog" take a look at API manual to all possible parameters.
    You just need to create scenarios with no error treatment, put a refresh variable getting the error message just after the scenario execution and then evaluate the error.
    It isn't complex.
    Make any sense?

Maybe you are looking for

  • Power mac won't reboot after installing OS 10.8

    I installed an online copy of OS 10.8 I bought from Apple and now my 5 month-old Quad Core Mac Pro will not boot up. It keeps cycling through start-up then shutting down. I was able to do a safe start by holding the SHIFT key where I was able to upda

  • EC sales list Netherlands

    Hello, I need to generate an electronic copy of EC Sales List for the country Netherlands. I found some notes in the help.sap.com regarding the programs RFASLD20, FOT_B2A_ADMIN where RFASLD20 generates the DME file for EC Sales list and FOT_B2A_ADMIN

  • Best Codec for Heavy Graphics?

    Hi, I'm exporting out of FCP to Compressor, its a demo reel filled with gradients, shadows, and numerous other lighting effects. Every time I export, my gradients look terrible, like ringed colors instead of a smooth gradient between two colors, how

  • Query not using remote table primary key.

    Hello all, My following query is not using the PK of remote database. vem_business_event_attribute is having a PK on ATTRIBUTE_TYPE_ID and business_event_id. The table is last analyzed on 04-dec-2010. It has around 5 milloin rows. select /*+ DRIVING_

  • What is the username and password for login to apex? please help

    Dear Friends I'm new with oracle Apex. I read the installation guid i i succeed in installing it and configuring DAD's file also. Now i log on the url: http://laptop:8080/pls/apex the logon dialog appeared but i do not know the username and the passw