How do I capture the output COMMNANDS of OMB

Hello

How do I capture the output of commands of the OMB.
Ex: OMBLIST TABLES
I need to capture all the list table to a file.

Kind regards
Vincent

Hi Vincent

You can use the set of tcl command and use hooks, which equals the back quote ' in bourne shell.

That is to say.
OMBCC ' / '.
define projects (PROJECT OMBLIST)
project $projects {} foreach
puts "$project".
}

You can find details of the interpreter tcl for hooks here.
http://www.tcl.TK/man/tcl8.5/tutorial/Tcl5.html

See you soon
David

Tags: Business Intelligence

Similar Questions

  • How do I capture the output of voltage full bridge with Signal Express NI9219

    Hello.  I'm trying to do and calibrate a load cell with the installation of full-bridge strain gage.  I use a NI9219 module with a cDAQ chassis.  Is it possible to capture the actual output voltage?  Signal Express gives me a value of strain, but I really need to know the output voltage.  Where to look.  I need only two channels for full-bridge.  I think that could connect the wires to the two remaining channels and read the output voltage of the strain gauges which would be connected as a tension of the 9219 entry, but I think that Signal Express could give me the voltage and output voltage directly.  Any input would be appreciated. Thank you!  P.S. I only use this equipment on occasion and am not the more familiar with it, so keep things simple for me.  Thanks again.

    Hi jgh@AET,

    The NI 9219 measures the ratio of voltage full bridge in hardware sensors, allowing any variation of the voltage to cancel. You won't be able to measure the output voltage of the sensor regardless of the voltage without additional channels, but you can measure the ratio of raw tension using the type of Bridge (V/V) . You can also use the type of measure of Force (bridge) measurement of load cell with engineering units (N, lb, kgf, no strain).

    This screenshot shows where the two Bridge (V/V) and Force (bridge) can be selected in the DAQ Assistant:

    These types of measurement were added sometimes around DAQmx 9.1, so if you have an older version of NOR-DAQmx, your DAQ Assistant maybe not them. The latest version is currently 9.4 of NOR-DAQmx. Front of NOR-DAQmx 9.1, the approach to recommend to measure the load cells was to use the custom with Excitation voltage type and a custom scale. However, Tension Custom excitedly can't Bridge of calibration in the DAQ Assistant.

    Brad

  • How do I capture the output firewire mac OUT and flow through FMS

    Hello

    I am new to streaming. Please, share your ideas.

    I need to take some stream that ends of firewire on mac and then transcode / encode it perticular bitrates, then spread.

    I believe that to firewire OUT, its simple. How can I listen to? How can I give my clients (such as mobile, or any player as a broadcast of http url) stream? Do I need to use Flash media server, if yes can anyone highlight the steps to install the same.

    Thank you.

    I just replied to your other post - I really recommend that you do not spend more time on a player like VLC and MPlayer, as they are not standard reading player for rtmp and http streaming to FMS - its always better to have the flash based client so please follow other posts where I gave links to other players.

  • Capture the output of a workflow in a different workflow

    I'm calling a WF1 workflow from another workflow WF2. I am able to do and WF1 is running perfectly in the background and the desired output via a return number. Newspapers of WF1 to verify that.

    But I want to capture the output (table/integer) to WF1 by WF2. I can't pass the exit (snapshots) WF2.

    I enclose the code and the journal of WF2. I enclose the code and WF1 journal as well.

    Well, well, you seem to met a strange problem... It was me frustrating because your code resembles a re-work of my code here:

    How to retrieve the details of Workflow

    ... If I run MY library workflow that checks the chips of workflow, the output, but all the variations, I tried to get out of the current token element has ended in the same result as what you had: null.

    So, as executions of audit workflow worked rather than the active token, wait until the workflow has completed, and then loop through the workflow runs until you find the one with the matching id of the token you just ran... once that you find, parse the output.

    Given two workflows you set in the last post, replace your task Scriptable text in the 'test' WF follows him with and run it (feel free to delete the code useless, I left all my code test in place in there something of another case may be useful):

    var inputParameters = new Properties();
    inputParameters.put("name", name);
    System.log("name '" +name);
    System.log("hostResource '" +hostResource);
    var curToken = wf.execute(inputParameters); //,"root","vmware");
    while (curToken.state == "running"){
        System.log(".. still running ..");
        System.sleep(1000);
    }
    var tokens = wf.executions;
    // Each execution is a "workflowToken" object
    for each (token in tokens){
        if (token.id == curToken.id && token.isStillValid){
            System.log("");
            System.log("=============== Checking token ===============");
            System.log("Token ID: "+token.id);
            System.log("Start Date: "+token.startDate);
            if(token.endDate != null){
                System.log("End Date: "+token.endDate);
            }
            System.log("Business State: "+token.businessState); // Indicates the business state as defined by the workflow dev in each of the elements of the workflow (not always specified)
            System.log("State: "+token.state); // Indicates the system state of this workflow
            /* State values are likely to be one of the following:
            waiting <- waiting for user input
            failed <- an exception was thrown to cause the workflow to fail
            completed <- workflow competed running successfully
            canceled <- user right-clicked and canceled the workflow
            running <- workflow is still processing
            */
            System.log("");
            System.log("==== Token Inputs ====");
            var inputParams = token.getInputParameters();
            if (inputParams != null){
                for each (key in inputParams.keys){
                    var value = inputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
            System.log("");
            System.log("==== Token Attributes ====");
            var attributes = token.getAttributes();
            if(attributes != null){
                for each (key in attributes.keys){
                    var value = attributes.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Outputs ====");
            var outputParams = token.getOutputParameters();
            if (outputParams != null){
                for each (key in outputParams.keys){
                    var value = outputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Log Events ====");
            var logEvents = new Array();
            logEvents = token.logEvents;
            var eventCount = logEvents.length;
            System.log("Event Count: "+eventCount);
            for (i=eventCount-1; i>-1; i--){
                var logEvent = logEvents[i];
                System.log("");
                System.log(" == EVENT ENTRY "+(eventCount - i)+" == ");
                System.log("logTimeStamp: "+logEvent.logTimeStamp);
                System.log("longDescription: "+logEvent.longDescription);
                System.log("originatorId: "+logEvent.originatorId);
                System.log("originatorUri: "+logEvent.originarorUri);
                System.log("originatorUserName: "+logEvent.originatorUserName);
                System.log("severity: "+logEvent.severity);
                System.log("shortDescription: "+logEvent.shortDescription);
            }
        }
    }
    

    And to get an idea of the output, my tab newspapers looked like this:

    [2014-08-01 16:29:25.632] [I] name 'demo
    [2014-08-01 16:29:25.632] [I] hostResource 'null
    [2014-08-01 16:29:26.351] [I] .. still running ..
    [2014-08-01 16:29:27.365] [I]
    [2014-08-01 16:29:27.365] [I] =============== Checking token ===============
    [2014-08-01 16:29:27.365] [I] Token ID: ff80808146af57140147934349c10567
    [2014-08-01 16:29:27.365] [I] Start Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] End Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] Business State: null
    [2014-08-01 16:29:27.367] [I] State: completed
    [2014-08-01 16:29:27.367] [I]
    [2014-08-01 16:29:27.367] [I] ==== Token Inputs ====
    [2014-08-01 16:29:27.371] [I] name: demo (string)
    [2014-08-01 16:29:27.371] [I]
    [2014-08-01 16:29:27.371] [I] ==== Token Attributes ====
    [2014-08-01 16:29:27.374] [I] restOperation: null (null)
    [2014-08-01 16:29:27.374] [I] statusCodeAttribute: null (null)
    [2014-08-01 16:29:27.374] [I] snapshotids: null (null)
    [2014-08-01 16:29:27.374] [I] RESTHost: null (null)
    [2014-08-01 16:29:27.375] [I] hostResource: null (null)
    [2014-08-01 16:29:27.375] [I] errorCode:  (string)
    [2014-08-01 16:29:27.375] [I]
    [2014-08-01 16:29:27.375] [I] ==== Token Outputs ====
    [2014-08-01 16:29:27.378] [I] snapshots: 1966,2262,2555,2927,3272,3586,3895,3903,3909,3987,4041,4430,4734,5048 (Array)
    [2014-08-01 16:29:27.378] [I]
    [2014-08-01 16:29:27.378] [I] ==== Token Log Events ====
    [2014-08-01 16:29:27.423] [I] Event Count: 2
    [2014-08-01 16:29:27.423] [I]
    [2014-08-01 16:29:27.423] [I]  == EVENT ENTRY 1 ==
    [2014-08-01 16:29:27.423] [I] logTimeStamp: 2014-08-01 16:29:26.364
    [2014-08-01 16:29:27.423] [I] longDescription: Workflow has started
    [2014-08-01 16:29:27.423] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.423] [I] originatorUri: undefined
    [2014-08-01 16:29:27.423] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.424] [I] severity: 0
    [2014-08-01 16:29:27.424] [I] shortDescription: Workflow has started
    [2014-08-01 16:29:27.424] [I]
    [2014-08-01 16:29:27.424] [I]  == EVENT ENTRY 2 ==
    [2014-08-01 16:29:27.424] [I] logTimeStamp: 2014-08-01 16:29:26.401
    [2014-08-01 16:29:27.424] [I] longDescription: Workflow is completed
    [2014-08-01 16:29:27.424] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.424] [I] originatorUri: undefined
    [2014-08-01 16:29:27.425] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.425] [I] severity: 0
    [2014-08-01 16:29:27.425] [I] shortDescription: Workflow is completed
    
  • CAPTURE THE OUTPUT IN INSERT INTO SELECT AND DELETE

    Hi all


    INSERT into employee_history_arch select * from employee_history where employee_status = 'CP' and action_dt < (sysdate-32);
    commit;

    delete from employee_history where employee_status = 'CP' and action_dt < (sysdate-32);
    commit;

    I must capture both the output of the insert and delete the sql query and compare the two values for validation. I shouldn't use select count (*) before the delete statement. I shud exactly capture the output... How to do? Please help me

    We will have ' 30 deleted rows' or ' 30 inserted rows"in our tool... I need to capture that 'put out' in a variable and validate against the other

    This should be easy.

    SQL> set serverout on
    SQL> DECLARE
      2    v_rows_inserted PLS_INTEGER;
      3    v_rows_deleted  PLS_INTEGER;
      4  BEGIN
      5    INSERT INTO emp_temp
      6      SELECT * FROM emp WHERE deptno = 20;
      7    v_rows_inserted := SQL%ROWCOUNT;
      8    dbms_output.put_line('Rows Inserted: ' || v_rows_inserted);
      9    DELETE FROM EMP WHERE deptno = 20;
     10    v_rows_deleted := SQL%ROWCOUNT;
     11    dbms_output.put_line('Rows Deleted: ' || v_rows_deleted);
     12    IF v_rows_inserted = v_rows_deleted THEN
     13      dbms_output.put_line('They are same!');
     14    ELSE
     15      dbms_output.put_line('They are NOT same!');
     16    END IF;
     17  END;
     18  /
    Rows Inserted: 7
    Rows Deleted: 7
    They are same!
    
    PL/SQL procedure successfully completed.
    
  • How can I measure the output of a sensor pwm ultrasound using the module or 9403

    How can I measure the output of a sensor pwm ultrasound using the module or 9403

    Khalil,

    When you say 'measure' the PWM signal, exactly what to tell you?

    You're looking to measure the frequency or cycle of the signal function? You count the edges of the PWM output increase? Looking to control the waveform?

    With reconfigurable FPGA hardware, it is up to the user to define the function of the physical i/o on the FPGA chip. By connecting the signals as Adam suggests your digital pulse will be brought to the cRIO. In your FPGA program, you define the function. You can set a base counter or transfer digital data from single point to welcome you cRIO for floating-point more complex treatment. Example FPGA programs are located in the http://www.ni.com/IPnet.

    Hope this helps, please post any additional questions.

  • How can I change the output of the old number in our HP officejet 5500series phone?

    I have a new phone number.  How can I change the output of the old number in our HP officejet 5500series phone?

    Hi Edward,.

    Please contact HP technical support at the: http://www8.hp.com/us/en/support-drivers.html for assistance.

    Good luck!

  • How can I capture the time of startup and logon for XP users on my domain?

    How can I capture time (or time)
    -for users to access the logon screen (references)
    -users press OK after entering his credentials on the logon screen
    -Office XP that appear in a usable format moderately (for example, the user is able to open Explorer)

    We have problems with the connection of slow/slow start (SBSL) with Windows XP on the field and we would have 'real' numbers before you start so that we can have a base line and that you don't need to ask users what they mean when they say "it's a bit slower than usual" (and we'll know what stage of the startup procedure is slow). We would like to be able to capture (without intervention of the end user) following in a file or somewher event schedule so that we can measure how slow (or not), they are and what stage is slow, and what days it was slow. We are already capture the userenv logs.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP Networking forum.

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

  • How do to capture the mouse click or drag the engine near the PF_Param_POINT

    Hi guys.

    I tried to re-captured the event click or drag near the PF_Param_POINT but I could not.

    PF_Param_POINT seems to catch my event drag near the object point.

    Using the debugger, I watched if PF_Event_DO_CLICK occurs or no such action of drag,

    no event of PF_Event_DO_CLICK were issued.

    Once my user interface of the custom controls located near the control point UI (less than 5px?),

    the user can move them forever.

    Instead of draggin my UIs custom, control point user interface are trained.

    At present, the only solution is to CANCEL the move of my custom user interface operation.

    Does anyone know how to avoid such a situation?

    Hi daichi.

    the problem is that the interface of AE has a priority higher on interface of plug-in.

    He intercepted events drag both drew on the interface of the plug-in on the paper.

    the only solution I know is:

    def.ui_flags = PF_PUI_DISABLED;

    Suites. ParamUtilsSuite1()-> PF_UpdateParamUI (in_data-> effect_ref, paramIndex, &def);)

    This will cause the point param be unselectable, and therefore will not intercept click and drag orders.
    You can set this flag selectively when the cursor is close to your custom control, or when the cursor is inside the window of the model.
    (it's what I do in my plug-ins)
    :-)
  • How do I get the output of a function table

    Hi all

    Kindly share your idea.


    I need the outputs of a function table only.

    Database version: oracle 10.1.0.2.0

    login_details:

    login_id branch_code

    admin 1
    Admin1 2
    Test 1
    user 1

    I need output for the query function below.

    Select login_id from login_details where branch_code = '1';

    If I create a function:


    FUNCTION to CREATE or REPLACE fn_get_login (pvBranch varchar2)
    IS BACK SYS_REFCURSOR
    REF_TEST SYS_REFCURSOR;
    BEGIN
    OPEN FOR REF_TEST
    Login_id SELECT FROM login_details WHERE branch_code = pvBranch;
    RETURN REF_TEST;

    END;
    /


    Select * from login_master where login_id in (select fn_get_login('01') from double);


    and get

    ORA-00932: inconsistent data types: expected - got CURSER

    Edited by: 887268 October 8, 2012 12:25

    You cannot use a Ref cursor in a table, because it isn't a result set of data, it's just a pointer to a request for enforcement.

    {: identifier of the thread = 886365}

    A ref cursor must be used if you want to refer the request to an external application.

    Transfer data back to a function is to use a pipeline for example function

    SQL> CREATE OR REPLACE TYPE num_descript AS OBJECT(num number, descript varchar2(30))
      2  /
    
    Type created.
    
    SQL>
    SQL> CREATE OR REPLACE TYPE tbl_num_descript AS TABLE OF num_descript
      2  /
    
    Type created.
    
    SQL>
    SQL>
    SQL> CREATE OR REPLACE PACKAGE reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED;
      3  END;
      4  /
    
    Package created.
    
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED IS
      3      v_obj num_descript := num_descript(NULL,NULL);
      4      v_rc  sys_refcursor;
      5    BEGIN
      6      IF p_choice = 1 THEN
      7        OPEN v_rc FOR SELECT empno as num, ename as descript FROM emp;
      8      ELSIF p_choice = 2 THEN
      9        OPEN v_rc FOR SELECT deptno as num, dname as descript FROM dept;
     10      END IF;
     11      LOOP
     12        FETCH v_rc INTO v_obj.num, v_obj.descript;
     13        EXIT WHEN v_rc%NOTFOUND;
     14        PIPE ROW(v_obj);
     15      END LOOP;
     16      CLOSE v_rc;
     17      RETURN;
     18    END;
     19  END;
     20  /
    
    Package body created.
    
    SQL> select * from table(reftest.pipedata(1));
    
           NUM DESCRIPT
    ---------- ------------------------------
          7369 SMITH
          7499 ALLEN
          7521 WARD
          7566 JONES
          7654 MARTIN
          7698 BLAKE
          7782 CLARK
          7788 SCOTT
          7839 KING
          7844 TURNER
          7876 ADAMS
          7900 JAMES
          7902 FORD
          7934 MILLER
    
    14 rows selected.
    
    SQL> select * from table(reftest.pipedata(2));
    
           NUM DESCRIPT
    ---------- ------------------------------
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
            40 OPERATIONS
    
    SQL>
    

    but of course, it is wise to just use pure SQL that in order to mix the PL/SQL in queries in the form of best performance features.

    Perhaps explain what problem you are trying to solve when trying to use a function, and we can advise you on the best options.

  • Capture the output of command Unix in WLST

    I'm trying to write a Python/WLST script that connects to a particular area based on the machine on which the script is run. My thought was to issue the command of Unix 'hostname' get the name of the machine operating systems, test against it and connect to the output of the base. My first thought was to do something like


    Import os
    HR = os.system ('hostname')

    If HR == "name":
    ConnectToAS()

    It does not of coarse because the os.system () command returns the Boolean output from the statement code and not the output. I then tried to watch using the mod 'subprocess' but who returns the following:

    Problem call WLST - Traceback (innermost last):
    File "/ home/beaadmin/bin/scripts/wlst/wip/checkMachine.py", line 1, in?
    ImportError: no module named subprocess

    Anyone know of another way to run a Python/WLST script which get the name of the machine on which it will run and make the name available for the rest of the calling script?


    Any help would be greatly appreciated.

    I came across your post looking to solve this same problem. I found a solution myself. Since jython, you are allowed to use a java class in your python code. So to get your local host name, use:

    HR = java.net.InetAddress.getLocalHost () .getHostName ();

  • CS6 Illustrator - How can I change the output settings?

    Hi, its really annoying that I can not change the output settings when I save for the web, something. I just mean Illustrator I want to create a new folder images whenever I have save something, and I don't want to add a _N at the end of the file name...

    Is there a way to change this?, I couldn't find it.

    Thank you.

    This feature has been removed from CS6:

    Quoted from this employee Adobe blog post on the new CS6 save for Web feature:

    The output, used parameters dialog box for formatting HTML file control, naming slice and manipulation of background image, has been removed.

    I didn't chance to find a workaround, but I'll keep poking around.

  • How can I check the output size of the Image of an image with a variable

    I have problems with a filter, I write because I can not enter the output image size (x and y) in a filter without doing it manually with a parameter

    Yes, it's currently the only way, but we do not realize that this is a problem and are working on solutions.

    Thank you!

  • How do I capture the error and display

    Lion of Oracle do it me the quick statement formula to capture the error and display in the Formulas (FF) fast in oracle payroll.
    In the case where the value of the element is Null, I want the system to show me in the quick pay message window what value of the item was left null so that I can make the entrance of this element and re deal with payroll.

    Appreciate all your help!

    for example.

    DEFAULT FOR YOUR_INPUT IS 0

    THE ENTRIES ARE YOUR_INPUT

    / * SECTION OF CODE * /.

    IF YOUR_INPUT HAS BEEN SET BY DEFAULT THEN
    (
    ERROR_MESSAGE = "INPUT VALUE IS NOT ENTERED.
    )
    ON THE OTHER
    (
    >
    )

    HTH

  • How can I activate the output sound

    The speakers I plugged in the job just fine so I know it's not that. It is a parameter which must be applied and I'm not sure exactly what steps to follow to activate the audio output

    Hello

    To turn on sound follow the steps below:

    a. right click on the speaker in the system tray icon and select read.

    b. Select speakers and choose Properties.

    c. under use of the device, select use this device (enabled).

    d. click on apply to save the changes.

    Hope this helps,

Maybe you are looking for