Scheduling a scenario

Hello,
I'm looking for a way to create a schedule for a scenario and refresh the agent automatically. The second part is easy with OdiUpdateAgentSchedule but what about defining the schedule? Is there any way other than clicking it out in ODI studio?
Regards,
Sebastian

No, I don't think the first part is possible. There is no ODI tool I know of that will do this and no API calls either.

Similar Messages

  • Schedule a scenario to execute as soon as it gets completed

    Hi,
    Is it possible to schedule a scenario to execute again as soon as it gets completed?
    Please let me know.
    Thanks!

    Hi,
    If you want you scenario to go in an endless loop, you can simply create a new package. Drag your scenario into the new package, and add the "OK" to itself. Therefore unless it fails it will start again on completion.
    You may want to add a variable to you package so you can stop it, which you can set externally.
    The Final package would look like this...
    Declare variable-->Refresh variable-->evaluate variable (true)-->call scenario loop back to Refresh variable (step 2).
    If the evaluate variable is false, then the package will stop.
    Cheers
    Bos

  • Ho w to schedule a scenario from external system

    Hi
    Is ther any API or function we can schedule the ODI scenario from external system.We have a html page from whcih we are calling ODI scenario using startscen command.We would like schedule the scenario
    from HTML page is there any way we can achive this
    Thanks in advance...
    Baji

    What Zerome said is correct. Odi console is for managing and monitoring an Oracle Data Integrator run-time architecture and for browsing design-time objects.
    you can refer for information on this link aswell.
    http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/odi_console.htm
    Bhabani
    http://dwteam.in

  • Scheduling a Scenario question

    I have scheduled a Scenario to run every x minutes. I did this from ODI Studio and it works.
    Now say, I export this Scenario and import it into another ODI "Execution Mode" environment.
    There, the ODI admin wants to change the Scheduler of this Scenario, from x minutes to y minutes.
    How do they do it? I dont see any options to do that from ODI console.
    TIA.

    Ok, so seems like you cannot adjust Scenario's scheduling from ODI console. You can only do it from ODI Studio.
    Somebody, please let me know if I am wrong.
    Thanks!

  • Scheduling A Scenario Through ODI Console

    Hi,
    I want to schedule a ODI Scenario through ODI Console.Is it possible?If yes, then please let me know how??Because I am able only to execute the odi scenario through odi console.But can't scheduled it(Can't find any option there)
    Thanks
    Anindya

    Nope
    http://docs.oracle.com/cd/E28271_01/integrate.1111/e12643/running_executions.htm#BABBEDEG
    you can schedule it using sdk.
    http://dwteam.in/scheduling-in-odi-using-sdk/

  • Scheduled ODI scenario auto executed twice!!

    Hi All,
    I am using ODI 10.1.3.5 . I have an ODI scenario scheduled to run once everyday midnight. Normally it runs fine but on some irregular intervals, the scenario simply doesn't run or runs twice at the scheduled time .  Does anyone has any idea how to investigate/ solve this issue. Please help.
    I have checked in the SNP_PLAN_AGENT table and the entry is there as it should be .
    Thanks,
    Saby

    Not running a scheduled job sounds like a bug. please work with support channel to further investigation.
    You can check with view schedule dialog for a agent and see if its showing the scheduled jobs correctly. If so then agent should execute them on scheduled time.
    On running it twice: please check if you have configured the job to retry on failure or run multiple times. Otherwise this too sounds like a bug to me.

  • Schedule runtime scenario - RTW Availibilty-time Planning

    Hello all-
    Is there documentation on RTW Availibilty-time Planning?
    I want to learn options on daily, weekly scheduling of ID scenarios using RTW Availibilty-time Planning. (similar to SM36 TCODE in SAP)
    How to schedule outbound IDOC and HTTP scenarios as it is not part of Adapter Framework and RTW Availibilty-time Planning?
    I read the forum got idea but not in detail.
    Thanks in advance
    ravi
    Availibilty-time Planning
       RWB > Component Monitoring > Display ALL > Adapter Engine > Communication Channel Monitoring > Availibilty-time Planning.
       http://<host>:<port50000>/mdt/channelschedulingservlet

    Hi Ravi
    How to configure Availability Time Planning is outlined in the link below:  
    Planning Availability Times 
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/e3c488f87c6f74e10000000a1553f6/frameset.htm
    As far as I am aware, this functionality is not possible for the ABAP based adapters. Perhaps someone else can confirm this.
    Regards
    Mark

  • Query for the Problem of setting up agent and scheduling a scenario

    I have setup a agent called AGENT_SCHEDULER.I can start this agent from the windows service,but when I go to Topology manager and say test Test Connection I don't get any response. My ODI hangs up and I have to manually kill
    from the task Manager. Why is this happening?
    But when I start from the command prompt using agentscheduler "-port=20910" "-name=AGENT_SCHEDULER" "-v=5 its gets started and tehn when I go to topology Manager and test connection ,it says agent test successful.
    But in the windows service it is not started though. Is this correctly behaving?
    After that when I schedule a Package Scenario and give status "active " and execution on "startup",I able to save. At this I presume the schedule must have started and ran the process. But then when I Go to Operator,it gives me error UNPARSEABLE DATE "0" and the opens up and doesn't show me anything.
    what is this error unparseable date "0"?
    I have set my ODIPARAMS with corect master and work repository and encoded ODI_SECU_ENCODED_PASS with the latest one generated?because every time I generate I get a different one.I am using java version "1.5.0_05".
    Also I have a requirement that I schedule my package after every 30 mins? What I found that we can schedule hourly?How will I be able to achieve this?

    Hi user768175
    Ref Note 783671.1 In Iassets Security by Cost Center is not Working, The Symptoms is as below :
    In iAssets, users with "Enforce Security by Cost Center" are able to see assets from different cost centers then the one where they are restricted, when using Advance Search button.
    But I still not work when using Advance Search button....
    Anyway, do u know how to setup the Cost Center/Department for employee in the HRMS module? Is't correct as below?
    I tried to set in HRMS (HRMS Manager) -> People -> Enter and Maintain --> select user--> Assignment -> Purchase Order Information -> input value in Set of Books and Default Expense Account field
    Many thanks for your help...
    SamCH

  • Unable to schedule a scenario

    Hi All,
    When I try to start an agent in odi 11.1.1.6.3, the agent has been started with exception
    C:\Middleware\Oracle_ODI1\oracledi\agent\bin>agent -NAME=PHYSICAL_AGENT
    OracleDI: Starting Agent ...
    2013-06-25 14:02:56.435 NOTIFICATION ODI-1128 Agent PHYSICAL_AGENT is starting.
    Application Server: STANDALONE. Agent Version: 11.1.1.6.3 - 08/05/2012. Port: 20910. JMX Port: 21910.
    2013-06-25 14:03:00.491 NOTIFICATION ODI-1136 Starting Schedulers on Agent PHYSICAL_AGENT.
    2013-06-25 14:03:00.881 NOTIFICATION ODI-1111 Agent PHYSICAL_AGENT started. Agent version: 11.1.1.6.3 - 08/05/2012. Port: 20910. JMX Port: 21910.
    Exception in thread "DwgCmdScheduler-PCS_WORKREP_PRD_NEW" java.lang.NullPointerException
    at com.sunopsis.timer.filterbased.SnpsBetweenHoursFilter.equals(SnpsBetweenHoursFilter.java:112)
    at java.util.AbstractList.equals(AbstractList.java:507)
    at com.sunopsis.timer.filterbased.FilterBasedTaskScheduleDefinition.equals(FilterBasedTaskScheduleDefinition.java:50)
    at com.sunopsis.timer.SnpsTaskManager.updateDefinitionList(SnpsTaskManager.java:94)
    at com.sunopsis.timer.SnpsAbstractScheduler.run(SnpsAbstractScheduler.java:161)
    at oracle.odi.runtime.agent.scheduler.OdiAgentScheduler.run(OdiAgentScheduler.java:138)
    at java.lang.Thread.run(Thread.java:662)
    2013-06-25 14:03:01.162 NOTIFICATION ODI-1137 Scheduler started for work repository PCS_WORKREP_PRD_NEW on Agent PHYSICAL_AGENT.
    The agent test is successful. Update schedule is also successful.
    But when I try to view the schedule, am getting "Unable to connect to agent" and the scenario is not executed at the scheduled time.
    Have checked every detail in odiparams.bat file.
    Everything seems fine.
    Could anyone please advise.
    Thanks

    Hi janakiram,
    There is some cause for this issue.
    Whenever u clicked "Scheduling Information" ODI queried your planned schedules (your Work Repository table, SNP_PLAN_AGENT) and did not see anything scheduled in the time frame of "Schedule from" and "To" to output for you (actually it wil take 2 hours from NOW, means will consider the current time when u clicked + 2 hrs).
    So whenever you click Scheduling Information it will fail saying Unable to retrieve scheduling information.
    The work around would be,
    The default "Schedule from" timestamp is the current timestamp on your machine and you can set the "To" timestamp by selecting an interval from the drop down (2 Hour, 1 Hours..) and clicking on either of the two yellow arrow buttons.
    When ODI finds a schedule in the time frame, it will automatically display it for you on the right, if there is none, you will see unable to retrieve agent's schedule message.
    Thanks,
    Guru

  • Errro occured while executing Scheduled Package Scenario

    Dear All,
    I've been running one specific package scenario scheduled daily.
    Nothing had been troubling until recently.
    No matter what it just fails miserably with the error below:
    7000 : null : com.sunopsis.sql.l: Oracle Data Integrator
    Timeout: connection with URL
    jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor
    and user sa.
    com.sunopsis.sql.l: Oracle Data Integrator Timeout:
    connection with URL
    jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor
    and user sa.
    Could anyone here give some tips if encountered as per above like me?
    Help and advises are really appreciated
    Regards,
    tErri

    Hey Cezar,
    :) been a while hope yer doing fine ")
    Well, If thats the case cause i have other packages connecting and loading is done successfully to the same DB
    one package is facing.
    Hmm, non that i take notice on changes being done onto database connections.
    Maybe i should recreate that failed fact and reimport it bak to the models n will have a try to see if there is such problems still occuring
    Will update ya on my findings :)
    hope this works
    Till Then..
    Thanks Cezar

  • Error while creating new Scheduling for scenarios in ODI

    Hi Experts,
    Good Morning.
    I am facing with the below error :
    ODI-23037: To use scheduling please associate a Logical Agent to a Physical Agent via the Logical Architecture Accordion in the Topology Navigator.
    But, when i try to create the logical agent then i need to create first physical agent, then i have created physical agent and going to test the physical agent then below error is showing.
    oracle.odi.runtime.agent.invocation.InvocationException: ODI-1424: Agent host or port cannot be reached using http://192.170.5.53:20910/oraclediagent.
    at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.reThrowAgentErrorAsInvocation(RemoteRuntimeAgentInvoker.java:1301)
    at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:277)
    at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeIsAlive(RemoteRuntimeAgentInvoker.java:428)
    at oracle.odi.ui.action.SnpsPopupActionTestAgentHandler.actionPerformed(SnpsPopupActionTestAgentHandler.java:65)
    at com.sunopsis.graphical.frame.edit.EditFrameSnpAgent.jButtonTestAgent_ActionPerformed(EditFrameSnpAgent.java:990)
    at com.sunopsis.graphical.frame.edit.EditFrameSnpAgent.connEtoC2(EditFrameSnpAgent.java:212)
    at com.sunopsis.graphical.frame.edit.EditFrameSnpAgent$IvjEventHandler.actionPerformed(EditFrameSnpAgent.java:160)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6289)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6054)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4652)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:601)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:615)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: ODI-1424: Agent host or port cannot be reached using http://192.170.5.53:20910/oraclediagent.
    Caused by: java.net.ConnectException: Connection refused: connect
    at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:278)
    ... 41 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at java.net.Socket.connect(Socket.java:478)
    at java.net.Socket.<init>(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:249)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at org.apache.commons.httpc

    You'll probably have better-er luck in the ODI forum.
    Data Integrator
    Cheers,

  • How to create agent for scheduling an scenario???

    i want to scheudle a scenario... but it requires agent..
    so, please tell me the steps i have to follow inorder to create agent....

    Hi ,
    Refer
    http://odiexperts.com/?p=1043
    http://st-curriculum.oracle.com/obe/fmw/odi/10g/10135/setup_odi_agent/setup_odi_agent.htm
    Thanks,
    Sutirtha

  • Scheduled scenarios not working

    Hi everyone,
    I have created and configured ODI agent as Java EE Application successfully as mentioned below:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/setup_jee_agent/setup_jee_agent.htm
    The test is successful.
    Now I am trying to schedule a scenario using this agent as below :
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/Creat_Schedul_Scen/Creating_Scheduling_Scenario.htm
    But seems like the scheduler never runs..and there are no execution logs as well.
    When I try to run the same scenario using the same agent, it runs fine.
    Am I missing something here?

    Yes.. I have already done - Update Schedule on that agent.. The scheduled is updated successfully.
    Additionally, I have more then 1 agent up and running...Will that cause any problems?
    Do I need to do something in the Load balancing tab of the agent?
    Edited by: 937825 on Jun 1, 2012 1:34 PM

  • Scheduling Scenarios - Multiple instances of scenario

    Hi
    I am using the scheduler to schedule a scenario that has a large number of cdc packages. The scenario usually takes 7/8 mins to complete.
    I have set the schedule to execute the scenario hourly at 30 mins past the hour.
    The execution cycle is set to many times (10) with 30 seconds interval between repititions.
    However sometimes the scenario can take longer to complete, so the execution cycle will not have completed when the next cyclye begins (i.e. + 1 hour).
    The upshot of this is that I end up with 2 or more instances of the same scenario running at the same time. This causes conflicts because C$ and I$ tables are being deleted, populated etc from different instances.
    I would ideally like to set up the scenarios so that they will not start while another instance is running.
    I've tried doing this with variables, but variables in one instance are not available in other instance (have tried everything here).
    I also heard there was a way of running scenarios synchronously, but this only appears to be available if you run using startscen.sh - I would prefer to use scheduler.
    I'm aware there is a way of adding session number to C$ and I$ filenames, but surely there is an easier way if ODI is any good at all???
    Can anybody help me.
    Thanks in advance.

    Hi ,
    In ODI , there is a tool name "OdiStartScene" which usually use for running the scenario in the package. eg. if you have package A and want to wait for Package A to succeed then running package B , You can use this tool with "Synchronous Mode".
    And about the variable that you talking. Did you use variable in "Global" mode?
    Thanks

  • Schedule Scenario

    Hi All,
    While creating/update scenario scheduling
    does I have to update it also in agent on physical?
    If so, Isn't a way to update it through the operator?

    Hi Guys,
    Let me contribute a little,
    Yes its possible by OdiUpdateAgentSchedule utility.
    1. Create a package, lets say Update Scheduling.
    2. Drag and drop the utility, OdiUpdateAgentSchedule and select your Scheduler agent from the drop down.
    3. Generate a scenario out of the package.
    4. So whenever you create/update scheduling, run this Update Scheduling scenario from the operator to get the scheduling information get updated in the agent.
    http://img185.imageshack.us/img185/4308/screenshot037x.jpg
    Makes sense?
    P.S: if you wanna make it automated, you can schedule that scenario for a particular time interval to get "auto" update of scheduling information.
    Thanks,
    G

Maybe you are looking for

  • Unable to close JDBC connection in crystal reports

    Hi, I have configured crystal reports to use a connection acquired from a datasource created in weblogic server to generate a report. I was hoping that by calling ReportClientDocument.close() i would be closing the connected used to generate the repo

  • I tried to implement photo albums using iweb and got a publishing error.

    I tried to implement photo albums using iweb and got a publishing error. All was fine with my site until I added the photo album page. The software doesnt say what the error is exactly, only that it is a publishing error to my ftp Exact message "Ther

  • Fs00 gl account creation - error fh005

    Dear experts i have the following issue creating a new GL account using fs00. I have one chart of accounts linked to several company codes. Both the chart of accounts and the comp codes do apply the English language. I have been creating several acco

  • I want to load the data afterbeing data loaded

    after the data is being loaded into the cube,i want to load the data for the particular infoobject(e.g.0equipment),is it possible,how ?

  • Problems with 4th Gen Nano

    I got a yellow iPod nano late August from my aunt as a going away present for college. Since then, my iPod needs to constantly restart. If I unplug it from the macbook, I need to restart it in order for it to work normally. Then, when I turn it off t