You are on page 1of 1

ODI 11g Scenario - using variables at run time

imap://stbeehive.oracle.com:993/fetch>UID>/INBOX>24218?header=print

Subject: ODI 11g Scenario - using variables at run time From: Iulia Balaban <iulia.balaban@oracle.com> Date: 3:34 AM To: <oracledi-community_ww@oracle.com>
Hi, I have created an ODI 11g interface which extracts data from Hyperion Essbase and puts it into a table. In the interface I'm using 2 variables to extract only one slice on 2 dimensions of the hyperion cube (Month and Year). I want to pass the value for these two variables at run time using ODI console (11g). Variables : Month, Year, Month_param, Year_param : Datatype: Alphanumeric; Action : All Values; I have drag drag drag drag drag join created a package following the steps: and drop variable : Month_param (set Type : Decalre variable); and drop variable : Month (set Type : Set variable -> Assign value #Project.Month_param); and drop variable : Year_param (set Type : Decalre variable); and drop variable : Year (set Type : Set variable -> Assign value #Project.Year_param); and drop the interface; them with ok link;

To generate the scenario I followed the steps : - generate scenario with thw following properties: -> Scenario Variables: "Use Selected" type in order to use only 2 variables as input parameters : I have checked only Month_param and Year_param; When I execute this scenario from ODI studio (11g) it is running ok because I have only 2 input parameters ( only the varaibles Month_param and Year_param). The problem I have identified is when I try to execute it from ODI console : in the run time prompt I have 4 input parameters (all variables defined in the package Month_param, Year_param, Month and Year) and the value for all the parameters can be filled. My concern is why there is a different behavoir, why I have all variables in the run time prompt in ODI console. To avoid any mistakes the ODI console end user should see only 2 input parameters (Month_param, Year_param). Please, see also the attached file. Thanks a lot for your help, Iulia

Attachments:

Steps used to generate and execute the ODI scenario.doc

95.5 KB

1 of 1

8/22/2011 8:18 AM