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

Similar Messages

  • 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

  • What is order of execution in Sequence container

    hi all,
     I want to know the order of execution in sequence container. we have sequence container and loading 20 dimension table but no precedence constraints between the task, each tasks are separate.
     What is the flow of execution, is sequence container allow parallel execution of task ?
    Please guide me.
    Thanks in advance.

    Hello,
    All tasks which exist inside your Sequence container will execute in parallel. 
    If you want to control the order in which they execute then you need to use precedence constraints.
    -Vaibhav Chaudhari

  • 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

  • Complex Scenario on file sequencing

    Hi All,
    I am developing one scenario where requirement is as follows.
    My source system will  generate a set of Data files and one control file which will be having details of all these data files.
    XI has to pick this control file first and depending upon the details specified in it, it has to pull all the data files. When all data files corresponding to that control file are picked up then only XI should send all those files to target system otherwise it should wait.
    For Example XI got Control1 file which contains data1, data2 and data3 files. Now XI will pick Control1 file first. Then it should go and check for Data1. once it is picked up it should go and check data2. Similarly for Data3. Once all the files got picked up then it should send those files to target in sequence. That is Data1 should go first then data2 then data3 and then control1 should go.
    Can anybody suggest anything on how to deal with this?
    Warm Regards,
    Gouri

    Hi ,
    interesting scenario you have there
    There are two ways  I can suggest...
    Using BPM collect scenario
    Staring the BPM will not be an issue .stopping it is ...i.e. when it should stop collecting messages.it will be started ...by the interface of the control file which you will send ...this control file must have some information about the number of files it has  ...(two recieve steps each identifying these two interfaces ...set a counter step in this case .) or some keyfield which identifies each file ..(if not ask for this info to be incorporated in the files)..
    if the interfaces of rest of the other then control  file is the same...then you have two interface kinds to deal with...if not ..then you'll that many interfaces you have make(in this case hope they are fixed ).
    Refer to SAP BASIS component ..you will have certain scenarios under BPM patterns ...which will give  you a fairely decent idea ..as to how to handel your scenario ( they are just template which you can copy and use after customising them according to your need)
    Besides there is work around i can suggest (as I am not a java guy i prefer abap)
    Here you can code in abap side of xi ...a code which will pick your control file .....
    from the location (ask your basis guy to set the file path) ..and based on these control file..pick all the other files and place it in a folder or ftp location from where XI will pick  ....(use job sceduling for automation )..just a suggestion ..I am using method to split large files ..as ..BPM is resource taxing ...

  • 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

  • Error in execution of sequence

    hi there ,
    a sequence was launched yestreday (from the planning front end) but after the start entry of that sequnce no other entry of that sequnce has been encountered in the log file , later on another user started another sequnce today(from the planning front end) , all the rules were executed fine but the start entry of the last rule was there in the log file but the end entry isnt here , its been 3 and half hours since that last rule has been started. i have checked the essbase sessions and no calculation session is in progress. also i want to ask that if we start a sequence from the planning front end does it appears in the essbase sessions that we view in the essbase console.

    There was this one rule that was not running and also it takes a while to run , so what i did was that i executed that one rule in particular , and it got executed , but the fact there is no entry of the that same rule being ended when the other user executed it is making it diffcult to understand that what could have been the problem.
    you said something about timing out from the planning application . but if a sequnce is getting executed it will show the progress bar in the planning window and it will never time out the user , dont you think , but even if the user was timed out is there a possible way to find out for sure that the user was timed out(some kind of log or something) and how can we change the default idle time for a particular user or maybe all users to avoid such problem.
    thanks

  • Execution by sequence

    Hi all,
    The example Simple on TestStand GUI examples shows me that user can choose from combobox the desired sequence and executed it(one file sequence contains two sequences).
    How can I execute the desired sequence without using the combobox ????
    Can someone show me on the NI GUI simple example
    Tnx

    See my most recent post here:
    http://forums.ni.com/t5/NI-TestStand/Execute-desired-sequence/m-p/2770626#M44790

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

  • Dynamic execution of sequenc

    Hi,
    I have the below function which takes the sequence name as variable and
    returns me the next val.
    Function fngetnextseq(object_id varchar2) return number IS
    l_next_no number(38);
    l_sql varchar2(100);
    BEGIN
         l_sql := 'select '||object_id ||'.nextval into l_next_no from dual';
          execute immediate l_sql;
          return l_next_no;  
    END;END TEST;
    But while executing its throws an error.
    Any idea how this can be solved so that i can take sequence name dynamically at runtime and then execute it.
    Thanks

    execute_immediate_statement ::=
    EXECUTE_IMMEDIATE dynamic_string
        INTO { define_variable [, define_variable ...] | record_name }
      | BULK COLLECT INTO { collection_name [, collection_name ...] | :host_array_name }
       [ USING [ IN | OUT | IN OUT ] bind_argument
       [, [ IN | OUT | IN OUT ] bind_argument] ... ] [ returning_clause ] ;Try like this:
    Function fngetnextseq(object_id varchar2) return number IS
    l_next_no number(38);
    l_sql varchar2(100);
    BEGIN
         l_sql := 'select '||object_id ||'.nextval from dual';
          execute immediate l_sql into l_next_no;
          return l_next_no;  
    END;

  • 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

Maybe you are looking for