Store the user receives the value in a Variable of Odi

Hello
I want to store the value user given (run-time) in a .txt file using shell script. If I want to change the value of the user given to the shell script. In the package, I put the variable in mode refresh as a first step, then the odioscommand link OK. When I try to run this package fails (* ODI-1246: * the logical schema has not been set for Input_Variable).

FYI: -.
I just create a simple numeric variable. Select the most RECENT VALUE for her and the schema is not defined. Default value is 0.
After that this problem occurred I select the oracle, memory engine diagram diagram etc and run again the package/scenario but it the same result.

Please advice
Thank you
Papai

NB
Here are the details of the problem: -.

ODI-1246: the logical schema has not been defined for Input_Variable.
at com.sunopsis.dwg.dbobj.SnpSessTask.getDefaultDwgConnectConnection(SnpSessTask.java:508)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.getExecutor(SnpSessTaskSqlV.java:428)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:405)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)

Yes. If you want to pass the variable at run time, then you will see a pop-up window. Here, you can pass the value.

Tags: Business Intelligence

Similar Questions

  • To loop through all the values of a variable in ODI

    Hi all

    I have a table table1 with date fields in this

    Thus, the table will be something like

    Date_column

    January 1, 2014

    JANUARY 4, 2014

    JANUARY 5, 2014.

    I have a variable var1 declared in my project, which can take the values in this table.

    So the definition of the updating of the variable var1 is

    Select from table1 date_column.

    Now for each of these dates, I have to run a script, the script takes value of var1 date as a parameter.

    This must be run in a loop so that all the dates in the table may be covered.

    Could you please how this can be achieved in a package in ODI.

    Be able to find the solution for this: thanks to all the other post that helped me to get the solution.

  • How to apply the procedure inside a procedure and the evils of the value in a variable?

    Hi all

    I'm usung oracle 11g.

    Here is my package and procedure

    I want to call get_email_details this procedure within the process_email_master and store the value in a variable in main proceedings

    create or replace

    PACKAGE ms_gen_process_email

    as

    type email_type is rendered (subject varchar2 (4000 tank),

    email_body varchar2 (4000 tank),

    to_receipent varchar2 (4000 tank),

    cc_receipent varchar2 (4000 char));

    type email_type_table is table of the email_type;

    procedure process_email_master)

    p_metric_name IN VARCHAR2,

    p_current_stage in varchar2,

    p_action in varchar2,

    p_pid number,

    P_OBJECT_ID in varchar2

    -p_emai_master on p_email_type_table

    );

    PROCEDURE get_email_details)

    p_metric_name IN VARCHAR2,

    p_current_stage in varchar2,

    P_ACTION in varchar2,

    p_email_type_table1 on email_type_table

    ) ;

    END ms_gen_process_email;

    ----

    create or replace

    PACKAGE ms_gen_process_email BODY

    as

    procedure process_email_master)

    p_metric_name IN VARCHAR2,

    p_current_stage in varchar2,

    p_action in varchar2,

    p_pid number,

    p_object_id in varchar2

    )

    as

    Start

    null;

    EXCEPTION

    WHILE OTHERS

    then

    null;

    end process_email_master;

    PROCEDURE get_email_details)

    p_metric_name IN VARCHAR2,

    p_current_stage IN VARCHAR2,

    P_ACTION in varchar2,

    p_email_type_table on email_type_table

    )

    as

    BEGIN

    Select the object, email_body, to_receipent, cc_receipent

    bulk collect into p_email_type_table

    of ms_gen_email_config_detail

    WHERE email_key =)

    SELECT email_key

    OF ms_gen_email_config

    WHERE metric_name = p_metric_name

    AND action p_action =

    and current_stage = p_current_stage

    );

    for me in p_email_type_table.first... loop of p_email_type_table. Last

    dbms_output.put_line (p_email_type_table (i) reserve .under | p_email_type_table (i) .email_body: p_email_type_table (i) .to_receipent: p_email_type_table (i) .cc_receipent);

    end loop;

    EXCEPTION

    WHILE OTHERS

    THEN

    NULL;

    END get_email_details;

    END ms_gen_process_email;

    but I get this error message

    Error (15,31): PLS-00201: identifier 'P_EMAIL_TYPE_TABLE' must be declared

    Concerning

    Dale

    See below the test case and change your code. You can call the procedure in detail within a main as procedure below

    CREATE or REPLACE PACKAGE test_pkg AS

    TYPE rec_val IS RECORD (empno, emp.empno%TYPE,

    Ename emp.ename%TYPE

    );

    TYPE nt_tabtest IS TABLE OF THE rec_val;

    PROCEDURE get_email_id (p_type to nt_tabtest);

    PROCEDURE get_email_master;

    END;

    /

    CREATE or REPLACE PACKAGE test_pkg BODY

    AS

    PROCEDURE get_email_id (p_type ON nt_tabtest)

    AS

    BEGIN

    SELECT EmpNo, ename COLLECT in BULK in p_type FROM emp;

    END;

    PROCEDURE get_email_master

    AS

    v_type nt_tabtest;

    BEGIN

    get_email_id (v_type);

    BECAUSE me IN v_type. FIRST... v_type. LAST

    LOOP

    DBMS_OUTPUT. Put_line (v_type (i) .empno: v_type (i) .ename);

    END LOOP;

    END;

    END;

    /

    Post edited by: 000000

  • First time user login backUrl stores the value of the url requested in the case of 10 g (SDK) webgate

    IOM - OAM 11gR2PS2 and 10g protected webgate application integration.

    When new users trying to access to protected application the user redirected to the screen for the IOM change password (which is correct behavior) and here once the user change the password and submit does not load the protected application. SST If g 11 protected asks consulted then it works fine. Here's the use case:

    To access the OHS 11 g protected page IOM: https:// < LBR_URL >: 4443/identity /

    the user redirects to - >

    https:// < LBR_URL >: 4443/identity/faces/firstloginbackUrl=https%3A%2F%2F < LBR_URL > % 3 A 4443% 2Fidentity & _afrWindowMode = 0 & checksum = A9745E7CE5D7A5B96116C67FB2BBA09...

    Above you can see backUrl stores the value of the requested url.

    after a successful change password user redirected to - > https:// < LBR_URL >: 4443/identity/which is expected.

    Now with 10g Webgate (jboss) protected:

    10 g webgate protected access request as https://ABCD.com:8443/ShoppingCart/default.htm

    the user makes a redirect to - > https:// < LBR_URL >: 4443/identity/faces/firstlogin?backUrl=%2Fidentity%2Ffaces%2Fsignin & _afrWindowMode = 0 & checksum = F35AFC1E9A9734D0FC583669B3DD62105F897B332B7303044855B9B0CC42C072 & _afrLoop = 371...

    Now you can see backUrl NOT stores the value of the requested url and some URLs as maintaining == / faces/registration.

    after successful change password user redirected to->https://< LBR_URL >: 4443, identity, faces, signin? _afrLoop = 3715664044314206 & _adf.ctrl - State = fq36gphqz_77


    Is there a limitation with this? I couldn't see any parameter that allows to control this on webgate 10g.


    Vinay

    Too bad I got the answer.

    If you see the newspapers you can see the warning like:

    XL not defined AllowedBackURLsMode

    In version IOM 11.1.2.1.4 has introduced a new improved security to prevent the use of a backurl to redirect a user to a malicious url.

    It can be controlled by XL. AllowedBackURLs.

    -

    Vinay

  • Store the value of the client side in the .jsf page

    Hello

    I implemented the functionality of line selection using check box in an af:table paginated . The user can select a record by activating the individual checkbox at the level of each line or select all the records by selecting the checkbox "Select all" at the level of the table header. I added a client listener that fires on the box click and the javascript function I capture the unique value of each line and then invoke a server event and by passing all the unique values captured.

    I've also attached a server listener that calls a method in the managed bean. In the method I capture all the unique values (which went from java script) in the java collection and then storing the collection in the view range.

    On the page, I have a button 'Submit' who collect all values stored in the field of view and execute the necessary business logic. This full feature works very well.

    My requirement is to improve the flexibility of the page.

    When the user selects the check box, it takes around a second deal with the life cycle complete .jsf page.

    Is it possible to avoid the call Server to store the values in the field of view instead if I can store the decision-making value on the client side-side (which I believe will improve performance) and then finally when the user presses the button "submit" I'll enter the stored values on the client side and complete the rest of the business logic.

    Please let me know if this is possible in the page .jsf which is developed in the ADF with JDev 12 c (12.1.3) or please suggest another approach.

    Indications will be useful.

    Thanks in advance.

    Kind regards

    Gerard

    There are two ways to do this, consider for example the browser Local storage / storage of Session:

    http://blog.teamtreehouse.com/storing-data-on-the-client-with-localStorage

  • Best way to store the values of the map

    Hi all.

    I have a card <>where I store the values (in this case, I store the IDs of rows in the table). I have an application with a panel tabs and I have a card for each tab. When the user exits the application, I'll go through the card and the identity of any process

    If I use normal in my grain map, once the user changes tab (or opens a pop up or something like that), the map is instantiated again and all data is lost. To resolve this problem, I used a static map. Everything is ok, but if 2 users use the application at the same time, they will share the card data and I don't want that.

    So I have a question: what is the best way to keep my card? I read some people saying to use one Bean of sessionScope, others a pageFlowBean, other parameters of Page, etc...

    Can you help me?

    P.s: jdev version 11.1.2.4.0

    Well, you can create a managed bean in this scope, or you can put your card directly at your fingertips.

    Here you will find several techniques to get the bean managed in java code: http://www.lkakarla.com/2013/06/retrieving-managed-beans.html

    Dario

  • How to acquire and store the values of DAQmx analog voltage (I do not want the graphic, but strings and values in a chart)?

    Hello

    How acquire and store the values of voltage DAQmx?

    I tried several code example, but they can't get the chart. I don't want to chart. I want to measure exactly the analog voltage values and record these values - as an excel chart, that contains the selected channels and voltage values.

    What the example code that I can use?

    My hardware is NI PCI-6251.

    Thank you very much.


  • store the value obtained in the while loop

    Hello

    I'm data acquisition (1,000 points every 0.1 s) in a while loop. I would like to calculate the average y of the first sample of 1000 points when I click on a Boolean 'calibrate', store that value somewhere (outside the while loop?) so that it can subtract from each new amplitude y. In the vi below, a new average value is calculated in each loop, although I would only use the first.

    You don't need to store the value outside the while loop. Keep the offset of the value when calibrate button is pressed and subtract the value with earned value. I modified your find VI the VI attached.

  • Store the value less than the current week and the year.

    Hi all

    I have a table called BACK, which structure is like this
    ITEM_NUMBER   YEAR_WEEK   MS
    ...........   .........   ..
    1N58          2012-WK02   01/15/2012
    1N58          2011-WK02   01/15/2011
    current my procedure I store the value in my new table that is less than the current week. But I want to retain the value less than the current week and the current year. Please, help me to get how I can do this.
    PROCEDURE BACKLOG_PROC_LT_CW IS
      BEGIN
     DELETE BACKLOG_LT_CW;
     COMMIT;
          INSERT INTO BACKLOG_LT_CW
            SELECT 
                  DC_UTIL.GEN_YEAR_WEEK(MS) YEAR_WEEK,
                  ITEM_NUMBER,
                  MSD
    
                  FROM BACKLOG
              where to_char(MS, 'IW')<to_char(sysdate, 'IW');
    
      END BACKLOG_PROC_LT_CW;
    Currently, with the above code is to store the value in my table of BACKLOG_LT_CW but if you see the data in the table from the BACK you will find YEAR_WEEk 2012-WK02 falls next year, but again it is store in my table because IW took only. Please help me get the soln

    Thanks in advance

    Concerning

    Are you looking for this?

    ...
    where to_char(MS, 'YYYYIW')
    
  • Store the value of the string column input color

    JDeveloper 11.1.1.2.0

    I have a table with a column for the labels of color that stores the value of string type. The goal of this column is to color code (tag/highlight) certain ranks with the data it holds, currently it stores literals string like 'RED', 'BLUE', etc.

    I try to use the component of inputColor af of the components of the adf, so far, I converted label inputText default af table gives me and converted into the inputcolor component. I also set the simple property to true.

    When running when I submit the color I picked up that don't throw me an error, just around the color of the red component (like what you get during an error), then it returns a null value.

    I tried searching forums and I guess that the color picker is not much of a topic, just need some guide on how to convert string to store in db so that I can reuse the value later.

    Thank you!

    Try to manually add the method in the class of the line. If does not, you may need to use a bean to indirection. This last method requires a backingBeanScope bean (or the scope of the request) whereby you inject the binding of string attribute (#{bindings.attribteName}). Bean then simply implements the conversion logic and get/set the value using get/setInputValue of the binding of the attribute.

    Kind regards

    ~ Simon

  • Monitor changes in the value of a variable in a module of code labview TestStand?

    Hi all

    A code in Labview module called from an action step has a particular variable that changes its value when running vi. Is it possible to monitor these changes through for example a local variable in TestStand and display different values on UI in real time via UIMessages?

    Thank you very much!

    You must post a UIMessage during execution of your VI.  As the following picture below, you can ignore the SequenceErrorMessage string and use the value of your variable as the numericDataParam.   I guess the trick is to determine where to display the user interface of Message, in your case, the variable updated at certain times or it he constantly updated?  I'm not sure of the performance LAG if at all times you post a UIMessage say every 100ms.

    On the other end, you will need in your interface user create a reminder of the Interface to manage the UIMessage.  See the following link for more details.

    http://www.NI.com/white-paper/4532/en

    Enjoy,

    PH

  • Why the value of my variable resets Boolean false when executing a method of a Bean?

    Hey everybody,

    I use JDeveloper 12.1.2.0.0.

    As the title says, my Boolean variable resets to false when I run my bean class method.

    In my bean class, I have this variable:

    Bank private Boolean = false;

    {} public void onDimStoreSelect (SelectionEvent selectionEvent)

    ...

    Ranger = true;

    FactSalesHUB (selectionEvent);

    ...

    }

    {} public void onDimSellerSelect (SelectionEvent selectionEvent)

    ....

    FactSalesHUB (selectionEvent);

    }

    public void FactSalesHUB (SelectionEvent selectionEvent) {}

    GenericTableSelectionHandler.makeCurrent (selectionEvent);

    If (product! = true)

    matchEmFromJavaScriptProducts();

    If (store! = true)

    matchEmFromJavaScriptStore();

    If (seller! = true)

    matchEmFromJavaScriptSeller();

    If (project! = true)

    matchEmFromJavaScriptProject();

    If (customer == false)

    matchEmFromJavaScriptCustomer();

    If (part! = true)

    matchEmFromJavaScriptCoin();

    }

    If I perform the onDimStoreSelect and after that, if I run the onDimSellerSelect, the value of the client variable is already set to false and it will make my matchEmFromJavaScriptStore() runs when I don't want it.

    Why didn't he stores the value as false since I did in the previous method? Any idea?

    If the problem is not well explained, or it is not well explained just tell.

    Kind regards

    Frederico.

    Try to increase the scope of your beans.  After each request your bean loses value and believe you lose the set Boolean value.

  • How to set the value of a variable in automator?

    I'm totally new to automator I found a post that I try to reuse

    to Re: copy multiple files from TextEdit in one Word file

    I want to open a series of html files in a folder and convert in a TextEdit rtf file.

    However, I am unable to automator find out how set the value of a variable such that it appears in this post

    I looked at every command in library without a lot of fortune

    Any help?

    Thank you

    Dan

    Its in Utilities.

    In Automator, use the search box:

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

  • How to assign the value of a variable to a quiz?

    Hi, I have a problem, I attempted to set the value of a variable for the quiz on the final value of the project, any suggestions?

    Sorry but I do not understand your question at all. If you talk about a quiz like cpQuizInfoPointsscored or cpInfoPercentage system variable, this is all simply impossible because the system variables are read-only.

Maybe you are looking for

  • GroupMe &amp; data cell

    Yesterday, I turned off cellular data for all my apps (in order to test the use of data lost). It is minimal, so I'm not worried about it. I went home and was on wifi, no problem there. Coming to work this morning (not), I suddenly get 8 new messages

  • 10.2.2 logic how to open the file editor?

    If I double click in the region opens an editor but only titles are 'Edit' and 'view '. No topic for the 'functions' and no vertical zoom control.

  • direct access to the modem point

    is it possible to directly use the access point with a modem.  my router seems to slow down my internet connection.  If I connect directly access point, I can still access the internet with my laptop, but my xbox comes up with an error "no IP".  any

  • House of the rising

    How to make online with my lap top, after the House of elevation, virgen didn't do it for me.

  • missing network control driver

    HP G42-415DX Microsoft Windows 7 Edition home premium 64-bit operating system Problem: in the toolbar, the network icon has a red x in the way and says disconnected no connection available. I think I accidentally uninstalled the driver in misundersta