Pass a Value to Variable from the unix environment in ODI (ELT)

Hi
i am very new to ODI environment.
i want know how to pass a value to variables in oracle data integrator from unix environment.
Example:
Variable name : Sales
for variable name sales i want to pass the value from unix environment.
Regards,
Raj
Edited by: user11137587 on Aug 19, 2009 6:26 AM

Work Around !
You can execute OS commands using Jython script. Probably you need to flush your enviornment variables value into a file using jython script and then read those value into ODI variable from the file.
BUt may I know why you want to read environment variable vaules in ODI, Dont you think this will make your application less portable
Regards,
Amit

Similar Messages

  • How to pass attribute values through variables in JSP  Custom TagLib

    Hi,
    Can anybody help me how to pass values through varuables in the jsp custom tag.
    i am using JSP custom tag. I am unable to pass attribute values through variables.
    <invitation:invdetails invid="<%=invid%>"/> The value is passing as <%=invid%> ,not value of the invid.
    But i am getting throuh the fllowing
    <invitation:invdetails invid='1' />
    Please anybody suggest me how to pass value by using the variable.

    Hi,
    It sounds like you need to set the <rtexprvalue> tag to true in the TLD for your tag. If you do this the tag will read in the value you are trying to pass to it.
    dapanther...

  • Unable to run reports from the unix command line

    hi
    all of a sudden i am unable to run reports ( on App server 10g) either from the unix scripts or from the unix command line. But i can run them from the forms.
    Any one have any idead about this.
    Thank you

    thanks all for replying
    i have set the env variables for the session and it worked. Looks like i have to set the oracle_home and ld_library_path every time ( opening a new putty session) i call sqlldr.
    But in a whole i am trying to run sql loader from the forms. Right now we have Oracle app server 10g which forms 10g version. As oracle app server 10g didnt come with sqlldr, we are copied the sqlldr of database on to app server with different home. after this we can run sqlldr ( on app server ) from unix scripts but not from Forms. Then we opened a qurey with oracle about app server 10g not commig with sqlldr and its remedy . But they said that they dont have specific remedy for that and suggested the same what we did.
    So we came up with java package which does the same funtion as host command and trying to run sqlldr which is on the database( ie replacing the host command in the forms with the database funtion). By using that funtion i am able to run the sqlldr from sql plus but not from forms. I couldnt easily debug it as i wont through any error messages.
    Any one have any idea of this ...
    Thank you

  • How to remove the EOF characters 0d & 0a from the unix file

    Hi,
             We have a requirement in which the EOF (End of file) characters 0d & 0a needs to be removed from  the Unix file generated by an ABAP program. Any pointers/solutions will be highly appreciated.
    Regards,
    Anil

    UNix files do not have a 0d and 0a end of line, they only have 0a as line terminator.
    In general, unix files do not have a end of file character (^Z).
    If you do not want to have several lines, dont write several lines, write all in one line using a string variable.

  • How to delete multiple variables from the variables list

    Hello,
    Iam using FrameMaker 9.0. Is there a way I can select multiple variables from the book and delete them together.
    Thanks,
    CP.

    NO in FM9. Take SQUIDDS TOOLBOX the free tool: 'Formats'
    'Formats' is a very helpful tool for 'deleting' paragraph formats, character formats, cross reference formats, table formats, color definitions and variables.
    You can delete unused one or all formats of selected. For paragraph and character you can also decide to 'add new one in catalog'.
    -Georg

  • Alerts with variables from the messages payload without BPM?

    Hi, experts:
    Is it possible to define a alert category with variables from the messages payload(for example:order_id ) without BPM?
    Regards
    Yu Ming

    Refer to
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1240902,00.html
    initially this also talk about BPM but you can check whether you can use the container variable in you case.
    How to define the container variable in ALRTCATDEF is mention in above link.
    **Points if answers find useful.
    Gaurav Jain

  • I'm trying to connect a subVI with my VI, they both share common variables and the subVI is not reading one of the variables from the main VI...

    I can't figure out why the subVI will not read this one particular variable from the main VI. How can I figure out how to make sure these two VI's are communicating properly?

    Yes, please post example.
    We could probably give you an answer rather quickly if you did.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I import eex files into Applications EUL from the unix command line

    How can I import *.eex and *.dis files into an Applications EUL from the unix command line?
    Thanks

    Hi
    The simple answer is you either have to use the client tool DIS51ADM to import files using the command line (Discoverer Admin is a windows only client tool), or the Java command line which needs a browser.
    In theory if you have a browser running on your Unix box you may be able to use the Java command line to make this work.
    Best wishes
    Michael

  • Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Sorry, no.

  • Export the data with Alias from the alternative table using ODI

    Hi!
    How to export the data from Essbase with Alias from the alternative table using ODI?
    Thanks.

    Are you on 10.1.3.6.x? Then: http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html
    Are you on 11g? Then: http://john-goodwin.blogspot.com/2010/12/managing-odi-11g-standalone-agents.html
    I will say with only a mild amount of shame and a large amount of gratitude that I installed both releases' agents through John's blog posts.
    Regards,
    Cameron Lackpour
    Edited by: CL on Jun 4, 2012 5:48 PM
    Whoops, had the same link in there twice.

  • Selected variable value is different from the displayed value

    Hi all,
    I have an issue with variable selection in portal. I have a IO - customer which is compounded to source system. So I have soem customers with the same key with different sources. And I have a variable created on customer. For ex - i have 3 customers like below. 
    SA/1234567
    BP/1234567
    F5/1234567
    1 - And when I search for a customer 1234567 - I find only one customer that is SA/1234567. And IO properties are set to read all the masterdata values and not infoprovider or posted values.  - thats issue one - I would like to see all the three and let the user select what ever he wants.
    2 - Now when I select SA/1234567 and run the report. It shows me data for F5/1234567 - which is correct data for that customer. But in the template I have a info field web item to display the selected variables on the screen. That info field shows the Customer as BP/1234567 - which is wrong and confusing. I checked the properties of the web item and everything seems ok.  So in the variable screen I get a value, the result set if of another value and the variable value that shows in the Info tab is another customer. - Driving me nuts
    3 - When I recreate the same scenario in 3.x query - everything works the way they should - this only happens in 7.0 query. What am I missing here??
    Any pointer or insight is appreciated - sorry for the long post.
    Voodi
    Edited by: voodi on Jun 8, 2010 2:26 PM

    Sorry - its not how its displaying the values rather what its displaying - it misses on 2 other values from the three - though the Bex setting in IO are set to read all the values from materdata table. And in the query I'm using IO properties. And display settings are ok

  • Removal of a Variable from the defualt values

    Hi Experts,
    I need to remove a Variable which is created on a Char AGV_AG_DI_IND_MUO_001 from the default values and the char on which the variable is created AG_DI_IND should remain in free charecterstic.
    Please advise.
    Regards,
    Tati

    Hi,
    I'm not sure if I understand the entire question. If you have a variable on a characteristic in the Query designer DEFAULT VALUES section and you remove the variable from it your characteristic will still be available in the FREE CHARACTERISTIC section of the query designer (in the Row/Column portion).
    Are you saying that you want to also remove the characteristic from the DEFAULT section of the query designer as well?
    Thanks, Pete

  • To pass the selected data to a variable from the drop down list in abap wd

    Hi,
    I have already created a drop down list and populated it with data from table by using the node and linking it with the internal table. Now I need to know which element is selected so based on that I need to perform some function. eg. based on the selected data , i need to populate the next drop down list.
    A demo code will be really helpful.
    Thanks and Regards
    Tenzin

    Hi,
    On selcting the value from the drop down, we have one event ONSELECT.
    Write the code in this event.
    Get the attribute value to lV_xxxxxx using get attribute.
    then using that you can fill the next DDBK attribute.
    method wddoinit .
      data:
            lo_nd_spfli type ref to if_wd_context_node,
            lo_el_spfli type ref to if_wd_context_element,
            ls_spfli type wd_this->element_spfli.
      data:
          lv_carrid LIKE ls_sflight-carrid,
             itab_carrid type wd_this->elements_spfli,
             wa_carrid type wd_this->element_spfli,
             lo_nodeinfo_spfli type ref to if_wd_context_node_info,
             lt_value_set type wdy_key_value_table,
             ls_value_set type wdy_key_value.
      lo_nd_spfli = wd_context->get_child_node( name = wd_this->wdctx_spfli ).
      lo_nodeinfo_spfli = lo_nd_spfli->get_node_info( ).
      select carrid
        from spfli
        into corresponding fields of table itab_carrid.
      if sy-subrc = 0.
        sort itab_carrid by carrid.
        delete adjacent duplicates from itab_carrid comparing carrid.
      endif.
      loop at itab_carrid into wa_carrid.
        ls_value_set-key = wa_carrid-carrid.
        ls_value_set-value = wa_carrid-carrid.
        append ls_value_set to lt_value_set.
      endloop.
      lo_nodeinfo_spfli->set_attribute_value_set( name = 'CARRID'
      value_set = lt_value_set ).
    endmethod.
    in the event of first DDBK, write the select statement wsing where condition of lv_XXX.
    and append the record as above.
    Regards,
    sarath

  • How do I pass a username form variable from a drop down list/menu to another page?

    Hi,
    I have a login_success.php page that has a drop down list/menu (which lists usernames). I want the user to click on their user name, and when they click the submit button the username information to be passed over to the username.php page which will contain a recordset, sorted by username.
    How do I pass the username info from the drop down list/menu to the username.php page?
    The drop down menu is connected to a recordset listUsername, I have filtered the recordset with the Form Variable = username, and I have used the POST method to send the username to the page username.php. I'm not sure how to structure the php or which page to place it on.
    <form id="form1" name="form1 method="post" action="username.php">
         <label for="username_id">choose username:</label>
         <select name="username_id" id-"username_id">
              <option value="1">username1</option>
              <option value="2">username2</option>
              <option value="3">username3</option>
              <option value="4">username4</option>
         </select>
         <input type="submit" name="send" id="send" value="Submit" />
         <input type="username" type="hidden" id="username" value="<?php echo $row_listUsername['username']; ?>" />
    </form>
    Could somebody help me please?
    Thanks.

    I would not post the variable over, In this case I personally would send it through the URL and use the $_GET method to retreve it. For Example.
    <html>
         <head>
              <title>Test Page</title>
              <script type="text/javascript">
                   function userID(){
                        //var ID = form1.userIDs.selectedIndex;
                        var user = form1.userIDs.options[form1.userIDs.selectedIndex].value;
                        window.location = "test.html?userID=" + user;
              </script>
         </head>
         <body>
              <form id="form1">
                   <select name="userIDs" id="userIDs" onchange="userID();">
                        <option>Select a User</option>
                        <option value="1">User 1</option>
                        <option value="2">User 2</option>
                        <option value="3">User 3</option>
                        <option value="4">User 4</option>
                   </select>
              </form>
         </body>
    </html>
    //PAGE TO RETRIEVE THE USERNAME
    <?php
    if(isset($_GET['userID'])
         $userID = $_GET['userID'];
         echo $userID;
         die;

  • RRI - Target query should get input values to variables from first Query

    Hi,
    I have 2 queries in RRI, when i execute it , i am going to target query, but poping the variable screen, but i should get the input values from the first query automatically.
    ex: in my first query, If i select CUSTOMER - A, then second query directly should take the input as Customer as A ans display the Customer A values.
    Thnaks,
    Amar.

    Hi,
           In the Assignment details, I have given the Document date variable of the second query  for the 0calday of the first query.I hope this sentence is clear
    Then the 0calday value directly passes to 0doc_date variable of the second query. And this 0doc_date variable is not seen in the second query.But rest of the variables of the second query like doc num ,category etc. are still visible in the pop up screen. the requirement is Pop Up Screen should be avoided completely
    How can be this achieved.
    Regards,
    Amar

Maybe you are looking for

  • How to include old invoices in the invoice list

    How to Include old billing documents in the invoice list. TO be more clear:- I created 20 invoices in the monthof JAN I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month. So the sys

  • How do i get contact photos to show up in imessage conversation on iPod Touch

    I have an iPod Touch 4th generation running ios 5.0.1.  When conversing through iMessages (Messages) on my iPad 2 small photos of my contacts show in the discussion window which is great because it helps to keep track of the conversation.  However, o

  • SQL Related question

    how can i get third/fourth or.. max element from the table?

  • Issue after upgrading to 6.0.196.0

    Hi, We tried to upgrade to the latest code 6.0.196.0 from 4.2.207.0 on our 4402 controllers.  We have 3 of them and ~70 1242APs.  The controllers upgraded sucessfully, but many of the AP's don't seem to be coming back after the upgrade.  We checked a

  • FCP 7.1 crashes

    I've been working all day on a project without issue using FCP 7.1. After the last save all FCP crashed when exporting a Quicktime Converted movie and now I cannot open the project. I can open other projects without issue. It seem that the file corru