How to call a command OS cross-platform in the scenario?

Hi all
I have two servers, Server W & L Server, located in the platform Windows & Linux respectively. I installed agents ODI in both servers. Then, I created a script that contains a procedure with a Windows operating system command. I run successfully if I blow-out scenario (using startscen.bat) Windows server (Server W). However, I have to kick start it from the Linux (server L) server. But then the script failed with the error "java.io.IOException: java.io.IOException: cmd: not found". I tried to put the parameter "-NAME = WINDOWS_AGENT" to the individual windows agent to run the scenario but I got the same error.
Anyone know if my requirement is feasible? If so, how? Or I need to run in the same platform? Millions of thanks.
Kind regards
Ricardo

When you run a scenario with a command startscen, it runs the script in this process, the NAME = parameter appears just in the run log under the name of the agent that is running the script.

If you run a scenario of an OdiStartScen tool in a package, you can specify the AGENT_CODE which delegates execution to that specific agent. (if you do not specify an AGENT_CODE it uses by default the same agent running the parent)

Therefore, if you want to run a command to the operating system that starts executing on a remote agent, you will need to do one of the following:
-create a scenario that uses an OdiStartScen command to start the scenario (which is held in a variable) with the settings (that is held in a variable) on the agent (of a variable)

-create a java program that uses the OdiInvocation API to run your script on remote agents

-If you have ODI public Web services deployed, you can even use a tool to use the web service to invoke the execution.

For completeness, you should also refer to the documentation for the tool odioscommand, which invokes a command bone (in the proper way on a variety of operating systems.

Tags: Business Intelligence

Similar Questions

  • How to call a function within a movieclip on the main timeline in CC animate canvas?

    Hello world...

    In AS3: Function (fnc name: myFunction) inside a Movieclip (mc1). I'll call you timeline mc1.myFunction ();

    But how to call AnimateCC canvas?

    If you have an instance of MovieClip named "mc" with the following code in to:

    This.Fun = function() {}

    Alert ("Hey!");

    }

    You can call this function (increased to 'this' within the MC) using the oon following the main timeline:

    var root = this;

    this.mc.addEventListener ("click", function() {}

    Console.log (root.mc.fun ());

    });

  • How to call a taskflow based on results from the drop-down list. ?

    Hello

    I want to call a taskflow based on the results of the drop-down list, I have a drop down list with LOV, if I choose a value insofar as it must call the taskflow are entrusted to him. How to do this. ?. How to assign a taskflow for all values and how to call it. Someone please help...

    Page:

    http://Java.Sun.com/JSP/page"version ="2.1 ".

    xmlns:af ="http://xmlns.oracle.com/adf/faces/rich" >. "

    valuePassThru = 'true '.

    valueChangeListener = "#{SelectBean.onSelection}" > "

    Main.XML (TaskFlow);

    http://xmlns.Oracle.com/ADF/controller"version ="1.2">

    Choose

    Choose.JSFF

    /Web-INF/FirstTF.XML

    FirstTF

    /Web-INF/SecondTaskFlow.XML

    SecondTaskFlow

    Choose

    First

    FirstTF

    Second

    SecondTaskFlow

    Code VlaueChange Listner already told you.

    First and second pages only contain output text component in my example. I think that is not necessary

    Concerning

    Vincent

  • How to get key command key to toggle only the feature "select automatically layer... »

    Hello world

    Without updates or changes in preferences I know, PS began to work differently for me today. With the tool move I normally have the option 'automatic selection of layer... '. "on. I can then select subgroups in my layers palette, hold down the command toggle button temporarily «automatically select layer...» " offshoreand drag this subgroup around the canvas.

    Today when I toggle the button «Auto select layer...» ' on, now the command temporarily switch it out.

    But when I switch the "layer select automatically...". "button off, holding command modifies the 'Group of layers' option next to him.

    Anyone know why this just started happening, or how I change it back and leave the command button to temporarily keep the selected subgroups ?

    Here's a little video showing the problem: auto select.mov

    Looks like that it will exacerbate a ton of people.

    See a thread more complete here: Re: PS CC 2014 move tool Bug?

    And the comments here, with an update to say Adobe "we are working": Photoshop: move tool - select Auto Toggle shortcut changed

  • How to Exchange Photoshop elements 13 Windows platform for the OS platform?

    I recently purchased Photoshop elements 13.  I use a Macbook Pro, but bought the Windows platform by accident.  How to exchange it to a compatible?  Thank you!

    Hello Rachel,

    Please visit the link given: https://helpx.adobe.com/x-productkb/policy-pricing/exchange-product-language-os.html

    The platform swap

    It will be useful.

    Concerning

    Bianka Attre

  • How to call sql loader control file with in the pl/sql procedure

    Hi friends,

    I am doing a project in relation to the transfer data using queues. In the queue, I'll get a data delimited by tabs in the form of CLOB variable/message. I don't want to keep this dat in the oracle table.
    During the updating of the data in the table.

    1. don't want to write data to a file. (You want to access directly after the specific queue).

    2. as the data is in the form of delimited by tabs, I want to use sql loader concept.

    How can I call the ctrl charger sql file with in my pl/sql procedure. When I searched, most forums recommending the external procedure or a Java program.

    Please guide me on this issue. My preferrence is pl sql, but don't know the external procedure. If no other way, I'll try Java.

    I'm using oracle 9.2.0.8.0.

    Thanks in advance,
    Vimal...

    Or SQL * Loader, or external tables are designed to read data from a CLOB stored in the database. They both work on files stored on the file system. If you don't want the data to be written to a file, you have to roll your own parsing code. It is certainly possible. But it will be much less effective than SQL * Loader or external tables. And it is likely to lead to a little more code.

    The simplest possible thing that might work would be to use something like Tom Kyte string tokenization package to read a line in the CLOB, divide the component parts and save the different chips in a significant collection (i.e. an object type or a record type that matches the table definition). Of course, you need manage things like the conversion of strings to numbers or dates, rejecting the lines, writing to log files, etc.

    Justin

  • How to call a stored procedure PL/SQL of the Disqualification?

    I figured I could do this from a Groovy script but I am unable to make it work.

    Let's take the simplest scenario:

    At the end of a job, I have a need to call an once stored procedure that has no arguments.

    Translated by the logic of the stored procedure with Disqualification is not an option.

    If you must call it once at the end of a task, you must use the external task.

    If you call a procedure for each record, it can be done using a script.

  • How to call a function inside a canvas from the outside?

    Hey,.

    I created a HTML5 Canvas animation with animate CC and also added some bootstrap stuff to the HTML document by hand. To animate CC, on the main timeline, I added a function:

    this.removeObject = function() {}

    Console.log ("withdrawal of object");

    // [...]

    }

    Outside the canvas element, I added a button. When you click on it it must call the function removeObject inside the canvas.

    I tried to access by adding a "= window.parent.canvasTimeline;" Variable in the file CC animate, but it does not work.

    Is it still possible?

    It is of course possible. Just have your code Animate stash a reference to your function in the global scope.

    globalMyAnimateRemoveObjectFunction = this.removeObject;

    Then you can make globalMyAnimateRemoveObjectFunction() from anywhere in the page.

  • How to call static pages using web.show_document on the application server

    Hi all.

    I'm using forms / reports 11 g Rel2.

    I´d like to call it a few static pages of forms using web.show_document and have the pages located on the same machine where the application server is running.

    I know it's more a problem of Oracle HTTP Server configuration, but I want to know if I can use one of the default virtual directories already defined on the installation process.

    Please recommend a virtual directory to use.

    Best regards, Luis... :))

    Sure. You can store the files anywhere you want. Of course, it is easy to create a new virtual directory. But if you want to use an existing one, the most obvious likely would be the virtual path of/forms/html that can be found here:

    INSTANCE_HOME\config\FormsComponent\forms\html

    The url to access it would look something like this:

    http://server:port/forms/HTML/myWebPage.htm

  • How to call dll com APIs that range from the performance counters of less than 1 ms with CVI and always get less timer resolution of 1 ms

    Hello

    I've created a dll com in VC ++ using performance counters/timers to less than a millisecond.

    This is useful when you send a message to very high speed. (say 10 or more)

    This is done by the dll.

    When I use CVI to create a user interface, this dll runs at a fixed rate of 1ms.

    This slows down the application.

    I tried to use the same dll with VC ++ host and it works well.

    I need to check the registry setting to see if the useDefaultTimer is set to false or TRUE.

    (I'm not near the development PC) However, by default, it should be FALSE and I have no fidle with it.

    Veuileez post any suggestions you might have.

    Thank you!

    This problem is now solved for me.

    Just the highest thread priority in the dll.

    Thank you if you had the answer.

  • In Blackberry Cascades 10 (C++, Qt, QML), how I call a customer to e-mail with the fields filled

    Orry, I forgot the code... :-)

    QString chartFilename = QString(QUrl(QDir::homePath() + "/pm.png").toEncoded());
    
    QVariantMap data;
    data["subject"] = "Your Subject";
    data["body"] = "Your body meesage";
    data["attachment"] = (QVariantList() << chartFilename);
    
    QVariantMap moreData;
    moreData["data"] = data;
    
    InvokeRequest request;
    request.setTarget("sys.pim.uib.email.hybridcomposer");
    request.setAction("bb.action.COMPOSE");
    request.setMimeType("application/text_messaging");
    request.setFileTransferMode(FileTransferMode::Preserve);
    
    bool ok;
    request.setData(bb::PpsObject::encode(moreData, &ok));
    
    InvokeManager invokeManager;
    InvokeTargetReply *reply = invokeManager.invoke(request);
    
  • How to click a clip from movie and control the scenario of the clip another?

    Code on the main timeline in Adobe animate:

    This.Stop ();

    createjs. Touch.Enable (internship);

    this.clipOne.on ("click", function() {}

    clipTwo.gotoAndPlay ("AnotherFrameLocation");

    });

    Just trying to figure the right scope to manipulate the other clips.  Basically, click on the clip it and move to another frame clip two.

    Any help would be appreciated.

    I would like to have the separate function, to make it a little easier to read. clipOne and clipTwo are the two children of the first 'this', but once you are inside a function 'this' becomes the function itself. If you set a variable to remember of the parent. This would work:

    var self = this;

    this.clipOne.on ("click", advanceTwo);

    function advanceTwo() {}

    self.clipTwo.gotoAndPlay ("AnotherLocation :);

    }

  • Boot camp unrecognized cross-platform records

    So here's a little history, I had an installation work of Yosemite and Win 7 ultimate running on my MacPro 3.1 beginning 2008, saw disks cross-platform with the standard read write limits, data was all mixed-platform so I decided to backup my stuff at the same time, wipe and do a clean install, I only have a disc of snow leopard OSX so I wiped and did a clean install with one of there , I noticed there was a worm even newer to avalible OSX install El Capitan then I updated level and attempted to do a training camp, although bootcamp and apples website says that my machine would support 7 when you enter the disk, he said I could do only a win 8 64-bit installation, I did not no more nor want to. It's jogging my memory that I had to modify the plist for the first time I did this, so I started to do some reading and what appeared to be the fastest workaround has been download a copy of bootcamp 4, because the new version does not support mixed installation of the iso (32 & 64 bit ver on one disc) did the installation went well spent ran boot camp software Player was not grateful so I tried to connect to the internet and there was a problem any appeared adapters but I just couldn't join the network and other issues at random so I started back in OSX deleted the partition and booted, this time networking the problem has been resolved but hard disk recognition was still a question , from windows I can openboot camp software and select this option to start card, but can not see the player mac, Mac I see windows on the desktop player but does not not in the utility disc or bootcamp and a target boot disk.

    Sorry for the long background but I seem not to be the only person having this problem perhaps this may help understand why its happening and lead to a better solution, aka prevent it

    Here is the info that you seem to need to read the other discussions on this topic

    I read the solution for the subjects to which I'm fairly certain that I'm having the same problem with and I am confident in preforming the required steps, like to confirm that, that is the question and what numbers should I use in my case for steps 7 and 8 and help is greatly appreciated.

    Thank you!

    Please after the release of

    sudo fdisk/dev/disk0

    sudo dd if = / dev/rdisk0s4 account = 1 2 >/dev/null | hexdump - C

  • Rocket League cross-platform on Xbox it?

    I was wondering if Rocket League will be cross-platform with the PC, when it comes to Xbox in February?

    Hello

    Please visit this link and check that helps:

    http://News.Xbox.com/2015/12/03/rocket-League-blasts-onto-Xbox-one/

  • question on "How to call a method once when starting the application"

    Hello everyone.

    I'm trying to implement that article "How to call a method once when you start the application" by Frank suggests.
    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_invoke_a_method


    Suppose I want to have a single entry point, so in my login.jpsx I have the below:
    <f:view beforePhase="#{login.onBeforePhase}">
    In the 'onBeforePhase' method, I have to pass the phaseEvent, since the signature is as follows:
    public void onBeforePhase(PhaseEvent phaseEvent)
    But how do I know the phaseEvent during the call to the login.onBeforePhase? How the call should be?

    Thank you very much!


    PS. I use jDev 11.1.2.1.0

    You must not pass something to this method, this method is called before each Phase except view restoration
    Just write logic as Frank suggested to the phase in which you want the code to run. You can get the PhaseId analogues

    PhaseId.RENDER_RESPONSE

    public void onBeforePhase(PhaseEvent phaseEvent) {// from Frank's doc
     //render response is called on an initial page request
      if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE){
    ... etc
    

Maybe you are looking for

  • No longer receive emails from Thunderbird, but available on Mail can I.

    From 01/05/14, I can no longer receive emails from my default account in Thunderbird. I have other computers that use Windows Live Mail who receive emails, and can I get them on my cell phone. I checked my settings, and nothing has changed. I recentl

  • When I select 'new tab' in firefox 4.0, the new tab is NOT filled with my homepage?

    Dear Sir or Madam, In the extreme precise: 1. Select a 'homepage' by using the menu options include: 1.1. the tools1.2. the options1.3 home page 2. in ff3.n, I select a new tab using the menu options include: 2.1 file2.2 new tab Result: New tab is po

  • [LV-&gt; TS] How to run a SEQ file, get the result (PASS/FAIL) and the report file?

    Hello I'm looking for the most obvious and simple, LabVIEW: 1. start the motor Teststand: FACT 2. get a list of SEQ files to run: FACT 3 - loop through the list to run each file follows: http://zone.NI.com/reference/en-XX/help/370052N-01/tsexamples/i

  • ATML 5.0 support

    Is there a plugin of data for ATML 5.0 DIAdem?  TestStand 2012 now generates ATML 5.0 default reports. I am aware of the ATML 2.0 data plugin, but I would like to take ATML 5.0.

  • WRT54GS - broadcasting of two SID

    My WRT54GS seems to emit two SIDS wireless One is called linksys - and is open without any security. I guess that's a default setting? The other is one I set with security WEP and MAC filtering. How to I get rid of the value by default "linksys" sid