How to refresh variable ODI as part of a knowledge Module?

Hello

I want to know how can I update a varaible ODI in a knowledge module using oracle Technology. EX: I created a variable called VAR_TEST in ODI.
In one of the module knowledge steps, I want to update as mentioned below:

Start
Select column name in #VAR_TEST in tablename;
end;

Thank you very much...

Hi Martin,

Put the query in the refresh tab in the variable, generate a script of the variable and call the script through "OdiStartScen" (Sunopsis API technology) of KM.

In this case the variable should be "last value".

An alternative is to use a Java variable instead... Works best at kms

This help you?

Cezar Santos
http://odiexperts.com

Tags: Business Intelligence

Similar Questions

  • Dim ODI - SQL Server - slow developing knowledge module

    Hi all

    I'm running the package, with only 2 maps and want to include CPC type2, I get the following error "incorrect syntax near the keyword 'From'. The code is below. The S.Load_Date is not affected and I get the error, where I look at and fix for this package work. Thanks for your time and your help.

    Update T
    set T.Current_Record_Ind = 0,
    S.Load_Date
    of datamart.dbo.Dim_type t.
    datamart.dbo.I$ s _Dim_type
    where T.Type_Code = S.Type_Code
    and T.current_record_ind = 1
    and S.IND_UPDATE = 'I '.

    Type 2 SCD is supposed to historical tracking of changes made to the source data, keep a record by natural key as the "current" record You must define a current record indicator starting timestamp, timestamp end, surrogate key and natural key so that the SCD KM to work. You can see the description of revenge for more information on each of these types of behavior SCD.

    Add a column, such as end_date, to your data store target according to the model and set the behavior ending Timestamp SCD. You should also have a surrogate key and natural key defined, as well as at least a column that will be inserted or overwritten on change. Hope this can go in the right direction.

    Kind regards
    Michael Rainey

  • E-mail ID in via variable ODI

    Hi all

    I'm using ODI 11 g. I need to use the e-mail ID in via variable ODI.

    The following] what to do:

    1. create 2 ODI variable with cc_mail_id and to_mail_id know.

    2. need to condition those:

    If
    'CREATED_BY' value of the column in the Emp table is 'ODI_PROD' or "SP_OWNER" then next
    the values must be entered in the respective mail_ids:

    to_mail_id: [email protected] , [email protected]

    cc_mail_id: [email protected]

    If
    Value of the column 'CREATED_BY' in Emp table is 'Ram' or 'Dion' or something then
    values must be entered in the respective mail_ids:

    to_mail_id: [email protected]

    cc_mail_id: white.

    Please share with me if haver you any idea on it.

    Thank you

    Loney

    Hi Loney,

    (1) create varaible ODI (Eg: to_addr) and get the value of the EMP table and save it.

    2) drag the to_addr variable on the package with refresh type and still later once drag and thr drop to_addr change of variables (2 times) the variable type such that assess and develop the condition assess the window property variable ODI

    IN ('RAM', 'DION') and - true---> email notification [email protected] another - false---> to another notification by email to [email protected]

    hope this can help you

    Kind regards

    Phanikanth

  • How to refresh a single chart based on the time of day

    This site advanced of Muse, HOME | Great American Car Wash, traffic light is programmed to change to red when the business is closed and green when it opens. The code I wrote back the following meta tag:

    < meta http-equiv = "refresh" content = "5" / >

    It refreshes the whole page every 5 seconds. Page Flash as it refreshes is not desirable. My best temporary solution is to change the frequency to 2 minutes. I fixed provisionally for 5 seconds for troubleshooting. It will have the value 30 seconds when it's time to publish the site.

    I used the command "INSERT HTML code" in Muse to add the code. It works as expected, with the exception of the blink of an annoying page to update the traffic lights. Business owner could easily tolerate a traffic light flashing when updating.

    Is there a way to only update the graphics only? Or is there a better way to "automatically update" status of light?

    Thank you.

    "Cincinnati."

    You can try the suggestions mentioned here:

    http://StackOverflow.com/questions/17886578/refresh-part-of-page-div

    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jQuery-and-AJ ax.

    Thank you

    Sanjit

  • How to refresh materialized views

    I'm following the steps to migrate a 12.0.6 financials database to OATM (model Tablespace Oracle Applications). One of the steps say to "perform a refresh all materialized views complete." This step is not part of the Oracle OATM utility. I wasn't able to find much on Metalink on this one. How to achieve this? Thank you... Colin

    Colin,

    See Note: 391483.1 - how to refresh materialized views after migration to the model OATM
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=391483.1

  • How to convert an image large parts of images? means split a jpg to several sub vivid image. (this sub image can partner in this big picture)

    Hi friends...

    How to convert an image large parts of images? means split a jpg to several sub vivid image. (this subimages can partner in this great image) any help

    In the example, I created both images and them added together, and the reverse can be done in the same way.

  • On movie maker how to cut movie in two parts on separate disks

    movie maker how to cut film into two parts and then burn each part on a different DVD

    Hello

    My friend John Papa - MVP - is the expert on Windows Movie Maker.

    PapaJohn.org
    http://Papajohn.org/

    PapaJohn - online tutorials
    http://www.Papajohn.org/mm2-online-tutorials.html

    Windows Movie Maker Tutorials - check the sounds of the addition in the left menu and others on the
    main screen.
    http://www.windowsmoviemakers.NET/tutorials/

    Windows Live Movie Maker help & how-to and Forums are good sources of information:

    Windows Essential - Movie Maker help
    http://Windows.Microsoft.com/en-us/Windows-Live/Essentials-Help-Center?T1=T3

    Answers - Windows Essentials - Microsoft Windows Movie Maker Forums
    http://answers.Microsoft.com/en-us/windowslive/Forum/MovieMaker?tab=threads
    ====================

    These might help:

    Getting started with Windows Movie Maker

    Import video, photos and audio on Windows Movie Maker

    Import video from a videotape

    Get a movie in Windows Movie Maker

    Make a movie quickly in Windows Movie Maker (AutoMovie)

    Publish a movie in Windows Movie Maker

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How can I print only the part selected a page?

    When I highlite prints part of the entire page. How can I print only the part selected page?

    Try:

    Highlite your text

    Press CTRL + P to start the print menu

    "All" is selected by default in the scope . Change it by selecting 'selection ', and then click OK.

    This example shows only the text that is selected. Microsoft® Security MVP, 2004-2009

  • Error 'this computer cannot connect to a homegroup. " How can I connect my 2 parts forming a home network?

    I'm trying to connect my pc with my pc upstairs downstairs (both HP pcs. 1pc is Vista, the other is 8.1). Now, I guess I'm on the right track to connect both PC and trying to establish them as a group residential when I get to the page of the homegroup, it reads 'this computer cannot connect to a homegroup' Finally I get 'service Homegroup provider is not running.

    How can I connect my 2 parts forming a home network?

    Thank you DVSMSC I missed it - you have reason. Homegroup is introduced in Windows 7 and works in 8 / 8.1 / 10 also, but not back to Vista.

  • How to pass variables in different QML

    hand code. QML:

    import bb.cascades 1.2
    TabbedPane {}
    ID: tabnav
    property string book_path;

    .........

    onTriggered: {}
    clearSelection();
    Select (row);
    var point = dataModel.data (row);
    If {(point)
    book_path = maincfg.bookpath + item.text;  (, book_path'm happy Get)
    var kvbookview1 = kvbookview.createObject ();
    NAV.push (kvbookview1);
    }
    }
    }
    attachedObjects:]
    {ComponentDefinition}
    ID: kvbookview
    Source: "kv_book_view.qml".
    }
    ]

    .........

    Code of kv_book_view. QML:

    import bb.cascades 1.2
    {Page}
    ID: Discovers;

    .........
    onCreationCompleted: {}
    Text3. Text =?     (how to get variables from book_path to main.qml)
    }

    Thank you

    Simon has given you the solution:

    import bb.cascades 1.2
    Page {
        id: view;
        .........
        onCreationCompleted: {
            text3.text = tabnav.book_path
        }
    
  • How to refresh the entire screen?

    Hello

    Please can someone tell me how to refresh the entire screen?

    Refresh here means clear all fields and show empty fields.

    Thank you

    Afonso Tyagi

    Hey,.

    as I usually do, is to create a separate function that manually assigns to each field and property reverts to its original state. There is not a function that does it for you. You must create your own. hope that helps good luck!

  • How can I prove that a part has received an e-mail even if they have not touched the link?

    How can I prove that a part has received an e-mail even if they don't hit the link button?

    Go to the party and check their e-mail inbox.

  • How to refresh 'Web service data control'

    Hi experts,

    I use Jdev 11.1.1.5, and I would like to know how to refresh a Web Service data control, when changes are made to the web service (that is, add a new method, change the settings,...)

    Thanks in advance,
    Jose.

    Hi Jose,

    Check this https://blogs.oracle.com/shay/entry/updating_adf_web_service_data

    How to change or update the control of data is created once WebService?

    Nitesh

  • OBIEE 11 g: how to call variables in places non-colonne

    Hello world

    I'm used to the table following (http://www.mycabi.net/wp-content/uploads/2010/02/VariablesChart1.jpg) know where and how to use variables in session/repository/presentation of OBIEE 10 g. But I tried to use it in version 11.X.6 of OBIEE and nothing seems to work.

    Specifically, I am using standard variables in the subject text of dashboard, or static text narrative report or report object.

    Can someone point me to a similar document for 11g?

    Thank you!

    -= Joe

    I tried to text object & its syntax is: @{biServer.variables ["VariableName"]}

  • How can I download LR as part of my creative cloud membership?

    How can I download LR as part of my creative cloud membership?

    You can download LR in the same way that you download all the other creative Cloud applications.  Either by going to creative.adobe.com/apps or by opening Adobe Application Manager as long as your system meets the requirements of LR as shown here: http://www.adobe.com/products/photoshop-lightroom/tech-specs.html

Maybe you are looking for

  • should I uninstall FF34.0.5 if I want to install FF37

    I have Windows 7 Pro 64 bit x 64. and I want to install the new FireFox 37.0a1. I don't know if I need to uninstall the old Firefox 34.0.5 before installing the FF37? How the sill, this affects things I have on the old program and should I do it or n

  • G5210uk: Increase in RAM

    My PC has developed a motherboard failure and will last only reliable with a memory busy location. (2GB or 1 GB either slot, but not both at the same time.) I find 2GB a little limit with Windows 10. Can I mount a single DIMM 4 GB?

  • secproc_ssp_isv.dll

    How can I fix this file

  • How to reinstall Windows 8 after a system restore

    I did a system restore on my laptop on the advice of a computer repairman to solve another problem and now I can't reinstall Windows 8. I can't go through the automatic setting u because I have my product key, so the PIN will not work. I tried to use

  • bilingual

    HelloI tried to configure my Adobe Premiere Pro in bilingual (En_US and Fr_CA) mode.  The "Debug database" with the interface of the console of the Premiere Pro (Ctrl + F12).These parameters has been changed:ApplicationLanguage to Fr_CA (it was En_US