How to make ODI scenario sessions run mutually exclusive

We want to restrict the end user of the ODI scenario to be able to run only 1 instance of the scenario at once. Is it possible in ODI ? Basically we want the ODI scenario sessions to be mutually exclusive ? if one is running, and if user tried to run another one, it should not allow him to do so.
Please note that we are aware of how to handle parallel runs while coding for the same, but here we don't even want to get to a situation like that.
Thanks,
Ankit

Hi Ankit,
Trying to help...
Two solutions -
Solution 1:-
Create a dedicated agent for that particular execution and for that agent set the maximun number of execution as 1.
(so only one session will be executed at a time)
Solution 2:-
Create a log table/ (lock table) to maintain the status of the execution . (column - Session state)
When ever an execution starts change the satus of the log (lock) table column as "Running"
and once the session is completed change the status of the column as "Not Running"
And in the package (starting) put a condition variable to check the column - Session state of the table log table/ (lock table)
if its running exit the application , else continue.
Hope this helps.
Regards,
Rathish

Similar Messages

  • How to execute ODI scenario from a web application

    Hi
    I need to execute ODI scenario from ApEx form.
    how to execute ODI scenario from application. Using 10.1.3.5.5
    -app

    In the SQL property of the TQuery object, enter the call as an anonymous block:
    begin
      pkg_name.procedure_name(true);
    end;

  • How to expose ODI scenario as a web service

    How to expose ODI scenario as a web service?
    Can we generate wsdl of ODI scenario if yes then how?

    SSZ wrote:
    Yes.But couldn't understand where to start.In that case use the magic wand.
    Ask specific questions, Many of your posts have an underlying tone , that of you not having read any documentation of bothered to research anything yourself I havent got the time to tell you how if you havent got the time to tell me what you have read , what you grasp and what you do not grasp.

  • How to invoke odi scenario from bpel without passing plain text password

    Hi
    We have following requirement,we would like to invoke odi scenario from oracle bpel process.But one problem is we dont want to pass the odi password as plain text.Please let me know how do i achive this task.
    Thanks
    Baji

    Hi,
    Thanks its working now. I am facing another issue. I do not use parameters in my Scenario. Now when i run my scenario i m getting the following error. I think its because i have not assigned anything to the Variable element. I guess its taking null value for Variable element here and cheking if such a variable exists. Have you come accross such an issue? If so, please sugest remedy.
    java.lang.Exception: Specified variable not found in the Repository : null
         at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:619)
    Edited by: silas.john on May 13, 2009 1:29 AM

  • How to make sure an applet runs with Java 5?

    Hi all,
    First let me say thanks for all the help in the past. You've help me go from noob to intermediate noob. I've just about finished my first applet game which can be checked out here .
    Now I've been reading about problems with mac and 1.6. (note it works on Linux). I want to make sure that it runs fine and of course I don't own a mac. So I downloaded the 5 JDK. Selected it as the java platform in Netbeans, compiled and it ran fine.
    Questions:
    Do I have to always use 1.5 to compile and perhaps set it as default?
    Since it works in 1.5, do I compile it with 1.6 and just upload?
    I'm worried I'm not testing it correctly. I mean if I have both 1.5 and 1.6 installed on my machine, how to I make sure the applet is only using 1.5 to run?
    Thanks
    Darrin

    corlettk wrote:
    I haven't got a clue RE your problem other than for max-portability you should compile with [-target 1.5|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html].
    I must say I'm impressed, except I suspect my PC must be substantially faster than any of your test platforms... can you throttle it to CPU performance somehow? Or maybe it's just that my reflexes aren't what they once where.Thanks.
    There seem to be two issues. The first is what people are using. This web stats shows pretty poor penetration of 1.6.
    [http://www.statowl.com/java.php|http://www.statowl.com/java.php] Penetration: 54% with JRE1.6 + 19% with JRE 1.5. Total 73%.
    The second is I've read that mac and 1.6 do not get along except on a 64bit platform.
    So for applets there is not much choice but to compile on 1.5 for the broadest user base. I guess the good news is 1.4 and earlier are almost non-existent.
    Edited by: Darrin.A on Apr 27, 2009 8:11 AM

  • How to make a java program run as a background process.

    </pre>
    writing a client server application.
    a program is supposed to run on a the client right from the time the client turns on the computer till the computer is turned off.
    the catch is the client should all the time be unaware of the program running in his computer, no dos prompt window, no icon on the taskbar,etc. can i convert it the class file into an exe file through software and put the exe filename in autoexec.bat. But then i think that the dosprompt window will open up on starting, but the client should see nothing.
    please help
    </pre>

    </pre>
    Thanks Daniel and jesper,
    could not really fully understand what you mean.
    creating a batch file is okay, but do you configure it
    to run in a an hidden mode.
    Also I have no idea of how to make a window
    service.can you please elaborate a bit
    </pre>

  • How to make an ABAP program run for a specified number of times ?

    assalamoalikum all!!!
    Can some 1 plz tell me that How can I make my ABAP program run ONLY for 2 times (after it went in production etc)
    AND when the program runs for 2 times It then gets hanged/Locked foreever.
    Suppose my program is:
    REPORT twice002.
    write ' I will run only twice bye bye'.

    Well, I guess the only full proof way is to create a custom "Z" table which will hold the counter, in your program you would update this table every time the program runs. In this same program before updating the counter, you would retrieve the counter and check if it is = 2, if so, then write a message and RETURN.
    Regards,
    Rich Heilman

  • How to make Adobe Flash Player run faster

    how do you make adobe flash player run faster my child has a game and the game is running to slow to play/use some of the features
    please please help

    Welcome to our community
    I see this is your first post here. I'm guessing that you aren't using Adobe Captivate.
    I'm unsure exactly how you managed to end up posting your question here, but you seem to lost and unsure exactly where to post.This forum is where we help one another with the Adobe Captivate product.
    Click the link below to visit the main forums landing page. From there, you will either click an icon or click a drop-down list where you may choose from a gob of different forums. I'm guessing you want the forum for Flash Player.
    Click here to view
    Cheers... Rick

  • How to make local scenarios available to other users

    I have an xcelsius file with a couple of saved scenarios. I export the file to PDF and send it out to users. The users are not able to see or load the scenarios. Is there a way to fix this?

    Correct me if I am wrong but scenarios are saved in some obscure path somewhere on the user's desktop. Sending a PDF - regarless of whether the recipient has Adobe Reader whatever version of the full Acrobat 9 - will not make any difference: the end user needs to have the scenarios in the same path. Even then, I am not sure that it works. If you export exactly the same version of a dashboard and run it on the same pc where scenarios were saved with the last version of the dashboard, they are not available. The path to which scenarios are saved seems to be different with every dashboard (I have tested this but I would be happy to be proved wrong).
    Saving scenarios is abosultely crucial to many dashboards. The fact that dashboards are not transparently persistent is an issue, for me, and it is something that I would very much like to explore as part of new features. For example, it would be good to be able to let the user select where scenarios are saved or at least have them saved somewhere that is relatively easy to find. But there are pitfalls with that kind of freedom: you cannot have a situation with two quite different dashboards trying to load in the same scenario. By definition, that cannot work.
    Long subject but the bottom line is: you cannot do it, at least not without some major hassle, in my experience.

  • How do make inactive RFC sessions timeout after user logged off?

    Hi,
    In SM04 we can see many sessions of type RFC belonging to users who already logged off. These sessions seem to stay allive for hours if not days.
    Exapmle:
    700  HAMILTONAN                                09.45.35    1  RFC                     8
    700  CHUAE                                     04.08.10    1  RFC                    50
    700  LIMMA                                     02.18.12    1  RFC                    45
    The standard icm timeout settings are set and works fine, but for some reason these assosiated RFC sessions seem to stay logged on.
    Is there any parameter maybe or any other solution anyone is aware of to make these sessions log off if inactive?

    Hi,
    Its basis activity but still ,
    Have a look at this parameter <i><b>rdisp/keepalive_timeout</b></i> it should be set to some seconds, after which if user stays idle system will force fully logged them off...
    How to Change : RZ11 -> put the parameter name -> Change ...
    Hope that helps.
    Regards
    Mr Kapadia

  • How to execute ODI scenarios from command line in Unix

    Hi Friends,
    I am using ODI 11g.
    I want to execute ODI senarios using the command line argument in Unix.
    Please let me know how to proceed with this.
    Thanks,
    Lony

    Hi,
    unser the /your_ODI_HOME/agent/bin folder.
    Excute this
    sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
    REFRESH_ID=Your Scenario name
    001:Version
    GLOBAL:Context name
    5=Log Level
    agent_ODI=Your agent name
    Regards

  • How to make a shortcut to run my Java app in Windows?

    Hiya, Coders :-)
    I am an absolute beginner.
    I have copied a little window program from "Java 2 in easy steps".
    I run it from the command line and a little window pops up.
    I cannot find a way to start the app without the command prompt.
    How can I make a shortcut to start it?
    Julian (-_-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hiya, Coders ;-)
    As it happens, I have a game from UJ Software: "Shisen for Java".
    It has a shortcut, of course.
    Here are all its details just in case it helps ...
    The game folder is here:
    C:\Program Files\UJ Software\Shisen for Java\jShisen.jar
    Contents of the installed shortcut ...
    General:
    Type of file: Shortcut
    Opens with: Java(TM) Platform SE binary
    Location: C:\Documents and Settings\Julian Bury\Start Menu\Games
    Shortcut:
    Target Type: Executable Jar File
    Target location: Shisen for Java
    Target: "C:\Program Files\UJ Software\Shisen for Java\jShisen.jar"
    Start in: "C:\Program Files\UJ Software\Shisen for Java\"
    Run: Normal window
    I don't suppose this will help.
    It strikes me that nobody knows for certain how to run a java app!
    I have two beginner's books, neither of which mentions anything beyond the command prompt.
    Tricks to minimize the console window are just not professional!
    The solution must be written authoritatively somewhere ...
    has anyone seen it, please?
    Increasingly disturbed ...
    Julian *(-_-)*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to make a text variable (running header - character) resize a text frame?

    I have successfully been able to get a metadata text variable to auto-resize a text frame, but when I change the text variable to a running header-character/paragraph variable, the text frame does not resize - in fact it gets smaller and squashes the text.
    Surely if Indesign can handle one kind of variable it should handle another??
    Please help!

    Thanks all.
    Will- I tried adding another character to the text box but this made no difference.
    Eugene- I'm trying to avoid the purchase of any 3rd party plugins due to budget constraints.
    I realised that all I needed to do was use a wide paragraph rule to emulate a box behind the text, and make the text box long enough to hold all possible variables.
    One other issue has now cropped up, the running header (character) only grabs the text up to the first return, but I need it to grab all text formatted with the Character Style (2-3 lines max).
    I require a forced line break in the title (where the header is being pulled from) as it has a paragraph rule style attached, requiring a full return for each line of the title.
    Any ideas?

  • How to make my PowerMac G4 run faster

    My PowerMac. G4 is running very slowly.  I am running OSX 10.4.11 with Safari.
    Are there solutions for this?

    Look at what is happening with your Mac when you run Activity Monitor.
    Macintosh-HD -> Applications -> Utilities -> Activity Monitor
    1) Be sure you select all processes in the double arrow selection just be low the window title line.
    2) Click on the CPU tab on the lower half of the window to see how much time you are using and if any applications are hogging the CPU.
    3) Be sure the triangle in the CPU title is in the down position.  This will list the processes from high to low.
    You can gain some understanding of Activity Monitor by  looking at it every once in a while.  Look at the small graph.
    Here is how I have my CPU display set up:
    Do you need more cpu memory.
    Click on System Memory to get statistics on memory usage.  You should have some free memory.
    The number to look at is page outs.
    Mine is 13397. This means that some of my programs and data had to be written to disk because cpu memory filled up for a time.  It means my programs ran a little slower than they could have.  I could run fewer programs, deal with the slowness, or buy more memory. I'd say you want at least 512meg of memory for 10.4.
    If the entry for entry for Page ins/outs is:
    Page ins/outs: 29163/0
    Notice I have 0 pageouts which says that I am not using my harddrive for extra memory space.  Thus, I have enough memory.
    Activity Monitor has a neat feature where it can display a dynamic dock icon.  In Activity Monitor View > Dock icon > Show cpu history.
    "Reading system memory usage in Activity Monitor :"
    http://docs.info.apple.com/article.html?artnum=107918
    Managing Memory
    See   Kappy
    http://discussions.apple.com/message.jspa?messageID=8025223#8025223
    Problems from insufficient RAM and free hard disk space
    http://thexlab.com/faqs/lackofram.html

  • How to make OTM scripts to run on remote machines

    Hi,
    I came across lot of posts which tells how to configure OTM to connect to remote machines.
    Some how i dont understand when they say stop the OATS service and configure it manually
    Also to use the password for authentication manager.
    What i really want to know is step by step for a layman to set up OTM to run scripts on a remote desktop and on the local with the execution being displayed (not suppressed)
    How do we configure that?
    Any help is deeply appreciated!! my test cases are just stuck inprogress status
    Thanks
    Radhika

    Hi Radhika,
    For running Scripts from either the server or the remote machine using OTM you need to run the Agent Manager service as a console not the OATS service. For that you need to stop that service--> set the startup type as manual--> the run the ' C:\OracleATS\agentmanager\bin\AgentManagerService.exe –c AgentManagerService.conf ' command in the CMD to run this service as a console. Because this agent manager service is for OLT to communicate with its agents and works fine even if it is set to automatic or manual and started normally. Hope this helps.....
    Regards,
    Charles Kingsly

Maybe you are looking for

  • Unable to delete request from ODS - BW 3.5

    Hi experts, I am not able to delete request from ODS in BW 3.5, patch level 21. I put the request red, but it does not help to delete it. The request is full load and quite hudge (16GB). Deleting actually takes too long (several hours), but does not

  • Problem with sessions in Kate Editor

    Hey guys! I'm using Kate Editor to code and i'm having problems with sessions. If kate is open and I logout KDE, when I come back to KDE all my customizations in Kate's session (activated plugins, font size, etc) are lost. If I manually close Kate be

  • How do I create duplicates in place

    I'd like to make a grayscale image with an octagon at the center and an identical rectangle radiating out from each flat side of the octagon.  Is there a simple way to do this in Illustrator CS4?  I made my octagon.  Then added a rectangle position a

  • App not available again

    I have bought a game in the app store. Now I reinstalled my mac and I cannot download it, or I have to pay for it again... How can i get the app free??

  • Two Internal tables to be displayed as separate ALV grid.

    Hi Friends, I have 2 internal tables say i_tab1 and i_tab2. I_TAB1 contains 10 records. I_TAB2 contains 15 records. My requirement is to display I_TAB1 with title 'Success Records' and ITAB2 with title 'Missed Records'. It should be done thro ALV gri