Substitution variable in Essbase Studio

Hello,
Does anyone know if it's possible to use Substitution variables inside a custom SQL in Essbase Studio ? When I try to use, I got an error message ( ORA-01008: not all variables bound ).
I'd like to make the SQL generated by Studio dynamic in order to set different load periods. The way I found is to join the SQL with a control table which has an initial/end date. Before running the cube deploy script I update the table with the date range I want. But I'm not sure that's the best way to do it.
Anyn suggestion ?
Thanks,
Victor

This post speaks to the error message but not in the context of Essbase Studio => ORA-01008: not all variables bound
Although there are a myriad of approaches to accomplish this I can certainly appreciate your desire to have it function properly upon Studio code generation & execution itself.
I will reach-out to some of my Oracle colleagues and inquire.
Thank you,
Todd Rebner

Similar Messages

  • Substitution Variable in Essbase

    Hi Experts,
    In our report script, whenever there is a small change in say Product then we need to update several Rows/code in Report scripts.We were using Rename script for the same like -
    {Rename "ABC"} "testl"
    So, we thought of a solution where we can create say 3 Substitution variables as we have restriction of 255 chars say V1, V2 and V3 substitution variables having this Rename script. and finally create "V" substitution variable = V1+V2+V3
    Is there any possibility of having Substitution variable Value as sum of 3 other existing Substitution variables in Essbase? Say in my Case
    V = V1+ V2+V3
    Please help me out if there is any?

    Hi,
    Your thinking is sound and creative, however due to the way they work you can't define a subvar as a concatenation of other subvars because it will be interpreted literally. e.g.
    sv1 = hello
    sv2 = world
    sv3 = &sv1 + &sv2
    sv3 interpreted by essbase will be: &sv1 + &sv2 and throw an error.
    (If you think about it, concatenating two 255 char subvars into another would still exceed the character liimit.)
    So,
    if you want to concatenate several long subvars, just define them and mash them together:
    &sv1 &sv2 = hello world
    regards,
    Robb Salzmann

  • Substitution Variable in Essbase Report Script

    Hi All,
    In my report script I want to use Essbase Substitution Variable, just as an replacement to Text field... I am using following syntax:
    {STARTHEADING
    TEXT 0 "Bud"
    &StartMonthNo
    TEXT 0 "12"
    ENDHEADING}
    Where StartMonthNo is 1 ... I don't want to add this variable as some member in Essbase, just need to display Heading as
    Bud
    1
    12
    Using above syntax, it is just showing
    Bud
    12
    I have tried many syntax like Text 0 &StartMonthNo or Text 0 "&StartMonthNo" But nothing seems to be working...
    Please lemme know if I am missing something here .. Please give me some suggestions ...
    -CJ

    Hi,
    Your thinking is sound and creative, however due to the way they work you can't define a subvar as a concatenation of other subvars because it will be interpreted literally. e.g.
    sv1 = hello
    sv2 = world
    sv3 = &sv1 + &sv2
    sv3 interpreted by essbase will be: &sv1 + &sv2 and throw an error.
    (If you think about it, concatenating two 255 char subvars into another would still exceed the character liimit.)
    So,
    if you want to concatenate several long subvars, just define them and mash them together:
    &sv1 &sv2 = hello world
    regards,
    Robb Salzmann

  • Substitution Variables in Essbase Load Rules File

    Hi,
    Has anyone tried using substitution variables in Load Rules File Header definition?
    I need to load data based on the Year & I have different Files for 3 Years- CurYr, BudYr1 & BudYr2. Is it allowed to specify the Year Substitution variable in the Rule File Header? I am getting an error while loading.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Tim,
    Thanks for the response.
    I figured it out. The error message I was getting was because of some parsing issue. I have defined Year as "FY12" in quotes. I removed quotes & it worked.
    Thank You.
    Ethan.

  • Can't see Substitution variables in FR Studio

    Hi All,
    When I expand substituon Variables in FR Studio, no variables in the list. Previously it showed the list variables. Suddenly, no varibles are there. I have restarted the FR Studio, but still I am facing the same issue. What might be the reason.
    We are using Hyperion system 9.3.1
    Thanks in Advance,
    Sravan Kumar.

    Hi,
    Issue is resolved. Substituion variable values are surrounded by quotes in EAS. I removed the quotes and now working fine.
    But, if any of member name having ay special characters then I need to put quotes around the member, in that case how it will be. Any ideas please.
    Thanks & Regards,
    Sravan Kumar.

  • Pb using substitution variables in Essbase 7.1

    Hello I want to use the value of Current-year and current-month variable set in the application for the formula of my estimated scenario. When I validate the formula it's fine but after saving i got this error message in the log file :any help ? i was thinking the & and name of the variable will give me the value....thank in advance Local/ADLPlan/Sales/Administrator/Error(1200324)Error compiling formula for [Estimated] (line 1): operator expected after [&]Compilation failedError encountered when loading member [Estimated]'s calc string [IF (@ISMBR("FY04":(&Current_Year)))    IF (@ISMBR ((&Current_Month):"September") AND @ISMBR((&Current_Year)))     "MLO";          IF (@ISMBR((&Current_Month)))          "Actual";          ENDIF;     ELSE "Actual";     ENDIF;ELSE "MLO";ENDIF;], ignored

    Try removing the parenthesis surrounding your subvar.For instanceIF (@ISMBR("FY04":(&Current_Year)))Should beIF (@ISMBR("FY04":&Current_Year))Repeat for the others as well.Hope that helps.

  • Substitution Variables in FR Studio

    I created a subsitution variable in EAS called LongTermFutureYears, members assigned are FY10:FY20. It does not show up in the member selection hierarchy for substituion variables.
    Subs variables with only one member assigned (ie. CurYear = FY09) appear in member selection and function as expected.
    How can I get FR to recognize the subs variable with multiple members?
    Thanks!

    I do not believe HR supports sub-var with range of values. I just tried it and same issue as yours.
    However, you can do following:
    1. Assign a value (in this case year (FY09) to sub-var
    2. Select 'range' function (from functions tab) and move to right pane
    3. Select sub-var for ' StartMember'
    4. Select either sub-var for a member from list for 'EndMember'
    This should work fine.
    Since Range function is available in the report HR does not support range values assigned for sub-var (guessing).
    Good luck!
    Venu

  • Essbase server - automatic change of substitution variable from SQL

    Hi,I would like to automaticaly change the substitution variable in Essbase Server. Is it posible to change the substitition variable from external source e.g. SQL statement?Simple sample:I would like to assign value "2003" to "CurYear" substitution variable. But value "2003" I would like to get from SQL:"select year(current date) from table".There are commands in Esscmd and MaxL Shell, see bellow.Esscmd command:CREATEVARIABLE "CurYear" "localhost" "" "" "2003";MaxL Shell:alter system set variable CurYear '2003';Is it possible to get the value '2003' from SQL and pass this value to Esscmd command or MaxL Shell?My system:Windows 2000 Professional Service pack 4Essbase at 6.5.3 levelThanks,Grofaty

    You can create a text file from the SQL server that writes the command like"CREATEVARIABLE "CurrYear" "Servername" "AppName" "DBName" "2005";then you can create a schedule job that would run this script which can update the variable. CREATEVARIABLE creates/replaces the current variable.

  • How to get essbase substitution variable in ODI

    Hi All,
    I have a problem that I need to get the substitution variable from Essbase /EAS to work on some SQL statement in ODI.
    How can I do in ODI ???
    Thanks for all ..
    Thomas

    Hi,
    If you read my blog post :- http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html
    In the post there is a section on retrieving essbase substitution variables and using them in ODI.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Setting Essbase substitution variable thru ODI

    Hello Friends,
    We have some procedures in ODI that call maxl scripts to unlock app, clear data and agg. But how do we set Substitution variable in Essbase?
    Any feedbacks are appreciate...
    Thank You.

    Thanks John.
    - We created a maxl script with the statement below
    alter system set variable 'ActMon' 'Feb';
    - Created a procedure in ODI to call the maxl
    the procedure is working...but we still have to manually edit the maxl script every month to change the current month value.
    How about this?
    We have a oracle table in ODI schema which has month column populated. can we use that month column data and some how set the Essbase Sub var?

  • Synchronize substitution variables values between Essbase and Planning

    Hello,
    In EPM version 11.1.2.1 (but we noticed the problem also in previous EPM versions) when we set the value of a substitution variable in Essbase, the value is is not immediately updated in Planning: for some time we see the old value. The value in Planning remains unchanged even in we log off or exit Planning and log on again.
    Instead if we restart the Planning service, the value is immediately updated
    Since we would like to use the Essbase substitution variables to manage some selections in Planning Data Entru Forms, is there any way to force a synchronization, or to increase the frequence of synchronizations between Essbase and Planning?
    Regards
    Francesco Quaranta

    Have a look at setting the planning property SUBST_VAR_CACHE_LIFETIME
    http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/properts.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Financial Reporting and substitution variable

    Hello,
    i have a problem with FR and substitution variable. I create the substitution variable in Essbase for example antYear but i dont'see in dimension layout in FR studio and workspace.
    Thanks.

    You'll need to restart FR studio, after you have created the substitution variables. As the studio only performs one read of the sub var database on startup.
    It also won't show up unless you assign a member to it.
    Hope this helps.
    Iain

  • Substitution variable in Calculation manager

    Hi,
    In calc manager there are two types of variable
    1. replacement
    2. execution.
    I want to know that is there any connection between substitution variable in Essbase and these variable?
    In a document, I saw that
    "Planning and Essbase users only: If you want to create a replacement variable for Planning or Essbase, on Replacement, do these tasks:
    Enter a name for the variable.
    Select a type for the variable:
    Numeric—a number
    String—a text string
    Essbase—an Essbase substitution variable
    Note:
    You cannot use an Essbase substitution variable in a component of a business rule in an Essbase aggregate storage application, including those used in Oracle General Ledger."
    But I have created an Essbase replacement variable for a EPMA essbase application but it is not reflected in Essbase.
    Why?

    Hi, Rubi.
    Last NOTE was about Essbase aggregate storage application (ASO). Planning apps (using EPMA) has been created in Block Storage option (BSO). It isn't so?

  • Substitution Variables not seen in FR

    Hi John,
    When i am creating a report in FR, i am not able to see any substitution variables created on the server to select.
    Please let me know if any setting is missed
    Thanks,
    Sravan

    Maybe it is the same issue as :- Can't see Substitution variables in FR Studio
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to Update Substitution Variable

    Hi All,
    we are using Essbase 9.3.1.2. i am trying to create substitution variable using essbase console and i am getting an error as 1051082: substitution variable currmonth already exists however i have deleted all my substitution variables before creating them. When i checked in the backend using maxl i am able to see that the new substitution variable is created (*Currmonth*) however in console when i right click on the server --> edit -> variables i am not able see that variable that i have created.
    Can anyone of you help me out...
    regards,
    Naveen.
    Edited by: user12209997 on Sep 13, 2010 11:29 AM

    Are you sure you're not creating the substitution variable at say, the database level, but are then looking at the application or server level? Or the reverse?
    What do you get in MaxL when you type:
    display variable all ;
    If you set a variable, can you use it in an Essbase retrieve through the Excel add-in? If yes, I'd say the variable really exists and it's EAS that is wrong. There's always the restart of the EAS service to try.
    Regards,
    Cameron Lackpour

Maybe you are looking for

  • Zen vision M 30GB - dead battery

    Need asistance, bought two Vision M units at same time two years ago, one used frequently works perfectly, the other used infrequently n- no in last six months can not get to recharge - appears battery totally dead - tried to troubleshooting tip on c

  • Sequence Settings while using HD footage in 4:3 Aspect Ratio

    Maybe this is a silly question but I'm still a little confused when it comes to aspect ratios and sequence settings. I'm in FCP 7 and I want to edit HD footage in a 4:3 aspect ratio. What should my sequence settings be if I don't want to have to cont

  • 1.1.2 Issues deleting Smart Albums?

    Hi, I just installed Aperture today for the first time. As I am trying it, I created a Smart Album, which now I cannot delete, nor modify. After several attempts the library has been rebuild, yet the problem persists. A few questions: (1) Any suggest

  • IPhoto 08 only showing most recent import

    iPhoto 08 is only showing my most recent import, and the sidebar to the left has disappeared. The Library is still there, and presumably healthy at 21GB. I can see it fine in Time Machine, where I can see the sidebar and the Show Recent Import (or wh

  • Automate the data load process using task scheduler

    Hi, I am doing Automated Process to load the data in Hyperion Planning application with the help of Task Scheduler. I have created Data_Load.bat file but rest of the process i am unable complete. So could you help me , how to automate the data load p