Variable in the Load Rule file

Hi,
We're running EAS 9.3.1 and trying to update a load rule to include a substitution variable in the header. The load rule works fine when the member name is defined explicitly and the variable works fine in the calc scripts. Any ideas? I tried removing the quotes and the & symbol already. See error below.
Reading Rule SQL Information For Database [Plan1]
Reading Rules From Rule Object For Database [Plan1]
Unknown member [&CalcVersion] found while processing string ["Budget","&CalcVersion","Load","Functional"]
Unexpected Essbase error 1019026
Thanks.

Did you remove the quotes by using the replace in "field Properties" and Global properties tab? I am trying to replace double quotes with null in the data file and it does not seems to be working.
Thanks
Yagna

Similar Messages

  • 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.

  • Substitution variable in sql load rules file

    Okay gurus,
    I need a little guidance, I have to replace the value of 201020 and 2008 from substitution variables. I have created the variables and set them up globally on the essbase server.
    201020 = FW00
    2008 = FY00
    WHERE ACT.FISCAL_WEEK_ID <= 201020
    AND ACT.FISCAL_YEAR_ID > 2008
    AND RTDIV.DIV IN (1,2,3,4,5,6,7,8,9,99) (This is the query with hard coded values of week and year)
    When i m trying to put sub variables there , its throwing the error. please find below the way i was trying to do it.
    WHERE ACT.FISCAL_WEEK_ID = '&FW00'
    AND ACT.FISCAL_YEAR_ID = '&FY00'
    But unfortunately, its throwing error Error: 1021001 Failed to Establish Connection With SQL Database Server. See log for more information
    I know that this is the generic error because if i put the hard coded value in sql load rules it works fine.
    Is it the right way to out sub var in sql load rules???
    Please advice and thanks in advance.

    Hi Genn,
    I tried to see the app log for sql but i m afraid that there is nothing in there, the only error message which I am getting in app log is this:
    Failed to Establish Connection With SQL Database Server. See log for more information
    Its an ASO cube and initially i was using the variable as FY00 AS "2008" it did not work and than i tried without quotes in variable but is still not working.
    Any idea..thanks in advance.

  • Essbase Load Rules File Header Issue

    Hi,
    Is it possible to specify more than one member for the same dimension in the Load Rules file Header?
    Example: I need to load the same data in all the remaining months in current year.
    I tried using a substitution variable in the header which is defined as Aug,Sep,Oct,Nov,Dec.
    It loaded randomly. For each account, only one month is loaded.
    It loads only as many data points as in the data file regardless of the number of members from the same dimension specified in the Header definition.
    Any suggestions to correct this.
    Using a Calc script to do a data copy cannot be used because of other process limitations.
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    Randomly? That's really interesting. But yeah, I wouldn't expect that to work.
    I have a hard time thinking of a really good option that will handle an variable number of periods and is driven by a single subvar.
    Run the load multiple times, cycling through the subvar settings? Or (faster, if Period is dense) create one load rule for each period, with the data column copied multiple times using field manipulation and the future Periods assigned to each column (rather than using a 'Data' field) and run only the rule you need? That option doesn't use a subvar at all, but still requires conditional logic in the process.
    Alternatively, do the transformation in your source extract / parse the file. This is really the 'best' option but I appreciate there are sometimes constraints on changing upstream processes.

  • How to use a substitution variable in a load rule?

    I need to use a substitution variable in a load rule in a column, as I will receive a parameter to fix the Month and Year values within the data loading, could somebody tell me if this is possible. I put an expresion "&Yearproc" in the column value but it is not working.

    If you're a member of ODTUG (or even if not, you can sign up for an associate membership for free) you can download Glenn's presentation from 2009 Kaliedoscope "Little Used Features of Essbase (Like Data Mining and Triggers)" -- there is a section in that presentation on substitution variables -- he does a really good job in showing how this works.
    Go to: www.odtug.com, then Tech Resources, then Essbase/Hyperion, and search for Schwartzberg. Currently it's the ninth presentation on the list -- I think this changes based on popularity of downloads.
    Regards,
    Cameron Lackpour

  • Data Load Rules file - Conditional load

    Hi,
    I need to create a data load rules file to load sales data. The data comes at product, entity, month, year, version, scenario, account level. I need to load data only towards two of the entities, NCC and NCCCBU, i.e if the product is coming under a particular hierarchy called UK then it needs to get loaded against NCC entity member and if the product is under the CBU hierarchy it needs to be loaded against the NCCCBU entity.
    All of the data comes in the same file so I need to load it in one go without splitting the file into two.
    Thanks
    Vikash

    You can achieve this.
    In the data load rule when you are mapping the entity column.
    set the propperties like this:
    Field properties -> Global Prpoperties
    Replace with
    UK NCC
    CBU NCCCBU
    Field properties -> Data Load Prpoperties
    Map the column with entity dimension.

  • Storing a Variable from a load rule

    Hi, I'm a newby to Essbase so I apologize if this is a simple question:I'm trying to store the current working day from a load rule and store it in a singe location in the model or even better in a variable. I've looked at substitution variables but it doesn't appear that you can set the value from a load rule and then use in the outline.I currently have a member in the period dimension where this is stored, however the value is being stored for each of the other dimensions as well, which seems a waste of storage.Any help would be much appreciated.Mark

    As usual, there are a number of ways to do this, and a substitution variable has (IMHO) been somewhat deprecated in favor of UDA's and alias table references for almost all things that substitution variables were intended.Between these two, an Alias is the most appropriate choice for your needs -- and easier in the long run. Assigning a "Current Workday" alias to the appropriate time period is well inside the abilities of a load rule, but to remove the previously set one, you'll need to use an MAXL or Esscmd script. Dropping the entire alias table is your best bet, and you'll either need to use a dedicated table (that only sets the one alias), or you'll need to ensure that the load rule assigns all the aliases in the table.While not 100% complete, the above should point you in the right direction.

  • When i am trying to edit the Variable in the Business Rule?

    Hai Guys,
    When i am trying to edit the Variable in the Business Rule , I am getting String Error Message? Guys any one have any idea about the String Error Message

    Oh, so you're talking about an Essbase substitution variable.
    Try to surround the variable value with double quotes if it contains spaces.
    It's weird because its supposed to accept any value.

  • Ignoring duplicate Alias in the load rule

    Hi,
    Could anyone tell me how to ignore duplicate alias in the load rule while creating the dimension.
    Thanks,
    Ankoosh

    There is no option in load rule to ignore the duplicate alias. Either you need to modify the source or make aliases as unique by appending member names etc..
    Thanks,
    Naveen Mikkilineni

  • 043: Unable to read the Software Rules file

    hi,
    I have the message "043: Unable to read the Software Rules file " that
    appears on workstation object under Inventory tab, my software rule is
    activated, their is no other options to activate for this rule, is there
    other Nds objects that I need to configure for software scans?
    thanks!

    Dominic,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Substitution Variable in Data Load Rule

    Hello,
    Is it possible to filter selected record or rejected record from a flat file using a substitution variable ?
    I use the v11.1.1.3.
    Thanks
    Rgds,
    Pierre

    A quich test on sample basic says no. I exported the data in column format and cleared the data. Then I created a load rule with selection criteria of a substitution variable and itdid not load any rows. I then changed the sub variable to an actual month and it loaded fine

  • How to get an account with an IsICP -"R" attribute calculated in the HFM Rule file

    Till recently everything was going fine with the calculations in our HFM setup ( Version 4.1)
    We have say around 8 Expense accounts which roll up into a Parent account say ALL446 which finally rolls up into Operating Expenses.
    Operating Expenses
      |__ parent account
          |_INVALO
           |_ALL446
              |__222446
              |__242446
    And we have a calculation in the rule file as below
    HS.EXP "A#BE FIXED COST = A#Operating Expenses +A#SGA - A#BE VC OP F10"
    This was calculating correctly till we did the below change
    Added IsICP attribute to couple of accounts say 222446 and 242446 ( in the above example) in the metadata which finally rolls up into Operating Expense.
    Note: we did not add any Plug account attribute to the accounts
    Now the problem what we have in hand is -> Fixed Cost is not calculating correctly.- It happens that the two accounts for which we added the IsICP are not showing up in the calculation and the data in those two accounts are not adding up in Fixed Cost.
    POV in GRID/Excel -> actual,2013,periodic,<Entity Currency>, ICP Top, AllCustom1, AllCustom2, AllCustom3, None( for custom4)
    But when we retrieve Operating Expenses in Excel - it is showing the correct amount, even in the grid - but looks like when the rule tries to calculate Fixed Expenses using the above rule - these accounts are not adding up in the Operating expenses.
    I tried the formula ( to check what number is coming into Fixed cost ) - the result is zero - But in the grid/excel I see amount for acct2. Same POV as above
    HS.EXP "A#BE FIXED COST = A#222446"
    and if I add & Tops to the account like below ( getting some weird number instead of what is there in acct2)
    HS.EXP "A#BE FIXED COST = A#222446" & Tops
    Questions:
    1) Where exactly I am going wrong ?
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    4) How to correct the formula to make sure I get the number in the acct2 into Fixed Cost??
    5) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    6) Is it possible to get the exact number what we have in 222446 into BE Fixed Cost account via Rule?- why I am not getting it
    Notes:
    BE Fixed Cost-> account type -"Expense", IsCalculated - yes, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    Operating Expenses->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    INVALO ->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember -none, Custom3TopMember- none,
    enabled allcustom1,2,3,4aggregations
    Problematic account 222446 -> "Expense", IsCalculated - No, IsConsolidated - yes, IsICP- R, Custom1TopMember - Operations, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    The Entity on which I am trying to get the data( mentioning wherever I have attributes for this entity)
    DefCurrency - DEM, Allowadjs- enabled, IsICP - enabled, Userdefined 2 - financial, - SecurityasPartner attribute - is not selected through out the applicaiton.
    Variable
    Tops = ".I#[ICP Top].C1#AllCustom1.C2#AllCustom2.C3#AllCustom3.C4#[None]"
    tried attaching the attachments ( but service is unavailable)
    Waiting for all of your valuable suggestions..

    1) why was I not getting the formula right when I use & Tops
    I'm assuming that BE Fixed Cost has N for IsICP, in that case you can not write to invalid intersections as it would attempt to use the same ICP information
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    No
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    It will not run eliminations
    4) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    If you want it to rollup, yes you would need that.  We have all Parent accounts as isICP set to Y and top member to ICP Entities so that they roll up
    5) which will have priority the rule or the Grid where we have the calculated member like the BE Fixed Cost - because in the grid I had icptop, allcustom1,2 3 and when had & Tops to the account - I got some weird numbers...
    I'm not following the question here, grids are just really a display mechanism, rules will handle all of the calculations.

  • Sql and load rule file query

    Currently loading the data with the script , which it contatins
    Retreving data from oracle through SQL interface on to rules files
    and loading the data.
    just my question is , if i get 0 records from oracle , i dont want to proceed with the loading of data (which is no useful ).
    Can i stop the loading if records are zero.

    As far as I know there is nothing in MaxLIt that could tell that there were no rows.The MaxL statement would return a zero code saying that the process worked ok. It would be prossible in your batch script to have mutiple calls to MaxL and between them to do something like make a call to your sql DB getting the count of rows for your query. Investigate the result and if it is zero, then get out of your load and calc process (I guess you could do that even before you try to load).
    Or how about scheduling a job that creates an output file with the count if it is greater than zero. If it is, then run the batch load process if it is not, then bypass it. There are multiple ways to do this outside of Essbase, just not in it.

  • Essbase load rule file

    I am trying to use load rule to append some data to Essbase cube. How do you define the rule on Essbase side, as a data file or SQL data source? I am trying to avoid the second option as the SQL Interface was not configured on Essbase Unix box. Is it possible?

    Thanks John for explaining this one!

  • Data Load Rule file -Date conversion

    Hi,While working on a Dataload rule file,I was facing this problem.I'm getting date in the format "m(m)/d(d)/yyyy hh:mm:ss". Is there a way to change this to "mm/yy" ??(There won't be anyproblem if I get mm/dd/yyyy hh:mm:ss style. but unfortunately not.)

    Can you run the file through a "conversion process" prior to loading?We do similiar thing here. We get a feed from Hyperion Enterprise and run it through a home grown conversion utility written in Windows Script before we load into Essbase.It reads in the file line by line and then writes out a new file properly formatted.

Maybe you are looking for

  • I want to deactivate one of my apple ID's and I was wondering how you do that?

    I currently have two Apple ID's and only use one, but when I created it, I entered the worng email. So I created one with my real email a couple years later, but now I was to get rid of my second account and change the email of my first so I was wond

  • Help with textpad and java

    ive just started taking my first java class and im having trouble. text pad says system cannot find javac.exe in the system32 folder. i have followed one of the post on here about the registry keys but im missing the run key in the Helois folder i ha

  • PL/SQL add procedure with nested table

    Hi, I am trying to do a procedure to input information for one order and another for 2 orders. The information I have so far is as follows: Drop table Orders cascade constraints; Drop type item_type; Drop type Item_nested; Create or Replace Type item

  • Optimize PDF to a specific maximum size

    I also posted this in the feature request forum. I would like to be able to optimize PDFs of various sizes to a size small enough to email. I would like the images to be automatically down sampled only as much as needed to reduce the final PDF to a s

  • PL/SQL debugging use JDeveloper

    JDeveloper appears to require DEBUG ANY PROCEDURE privilege due to being needed for DBMS_DEBUG_JDWP. Is there any way around this? I am sure our DBA would prefer not to be routinely giving this out and all we need to do is debug stored procedures cre