Add alias with rules file

I have existing members and I want to add an alias to the members. Two columns in the data file, the Customer_ID and the Customer_Name.
Customer_ID already exists in Essbase, I want to add Customer_Name as the alias.
I have built a rules file to use this data but keep getting an error on validation saying:
Field 2 - This member is marked as an alias but there is no associated member field preceding it.
I have designate field 1 as the Member ID.
What am I doing wrong?

This could mean you have not associated the same dimension as the alias
e.g.
Gen2,Customer | Alias2,Product
or incorrect generations/levels associated
e.g.
Gen2,Product | Alias3,Product
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Need to generate multiple error files with rule file names during parallel data load

    Hi,
    Is there a way that MAXL could generate multiple error files during parallel data load?
    import database AsoSamp.Sample data
      connect as TBC identified by 'password'
      using multiple rules_file 'rule1' , 'rule2'
      to load_buffer_block starting with buffer_id 100
      on error write to "error.txt";
    I want to get error files as this -  rule1.err, rule2.err (Error files with rule file name included). Is this possible in MAXL? 
    I even faced a situation , If i hard code the error file name like above, its giving me error file names as error1.err and error2.err. Is there any solution for this?
    Thanks,
    DS

    Are you saying that if you specify the error file as "error.txt" Essbase actually produces multiple error files and appends a number?
    Tim. 
    Yes its appending the way i said.
    Out of interest, though - why do you want to do this?  The load rules must be set up to select different 'chunks' of input data; is it impossible to tell which rule an error record came from if they are all in the same file?
    I have like 6 - 7 rule files using which the data will be pulled from SQL and loaded into Essbase. I dont say its impossible to track the error record.
    Regardless, the only way I can think of to have total control of the error file name is to use the 'manual' parallel load approach.  Set up a script to call multiple instances of MaxL, each performing a single load to a different buffer.  Then commit them all together.  This gives you most of the parallel load benefit, albeit with more complex scripting.
    Even i had the same thought of calling multiple instances of a Maxl using a shell script.  Could you please elaborate on this process? What sort of complexity is involved in this approach.? Did anyone tried it before?
    Thanks,
    DS

  • A problem happened when building dimensions with Rule File

    Hi All,
    I was trying to build dimensions with the rule file. But it showed the error 1030100, which means "cannot open file".
    I can load data with a data source (.txt). Thus, I assumed that it's a problem to open a rule file.
    I don't think it's the problem about the rule files I wrote since I cannot even build dimensions with rule files in the Sample/Basic database.
    Anyone knows how to solve the problem? Thanks for the help.
    Best Regards,
    Anderson

    854285 wrote:
    Hi Prebhas,
    Here are the error messages:
    Object [Basic] is locked by user [admin]
    Building Dimensions Elapsed Time: [0.016] seconds
    Cannot open file: [E:\Hyperion\products\Essbase\eas\Client\dataload.err]
    Unexpected Essbase error 1030100
    Object [Basic] is unlocked by user [admin]
    p.s. Even I re-install my system is English, the word "Client" is shown in Chinese. Is it possible this is the reason? If so, how I change the folder?
    After I saw this message, I checked the folder and there is no such file. I tried to created one, but it disappear after I tried to build dimensions.
    Best Regards,
    Anderson
    Edited by: 854285 on 2011/4/25 上午 3:27HI,
    E:\Hyperion\products\Essbase\eas\Client\dataload.err
    This path is referred to error message .... it will show the errors in that file...
    and one more thing...
    while adding data source to rule file it will ask you provide a path for the error message...there you can see this path...
    Just check dataload.err file after running the rule file...
    have you associated the out line to the rule file ???
    is that rule file validate fine?
    if not associate it and try...
    Regards,
    Prabhas
    Edited by: P on Apr 25, 2011 4:43 PM

  • Issue with rule file and Substitution variable

    Hi All,
    I am using Essbase 9.3.3
    I created a rule file with 5 dimensions in which 3 dimensions I defined in columns and two dimensions I gave it as header in data column with comma seperated.
    Among those two dimension members, one is an account member with "/" in it within quotes and other is a substitution variable.
    The member assigned for that Substitution variable has a space in between and is updated within quotes in variables list.
    When I try loading data, I am getting an error saying that two members are not valid.
    Eg: "Tax/Unit",&Scenario is not valid.
    &Scenario - "Budget Q1"
    Can some one please suggest on the issue.
    I am not facing any problem in calc scripts or reports scripts using the substition variable.
    Thanks in advance

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Deployment Issue with Rules file

    Hi,
    We have Rules file issue after the deployment in Development and Re7 environment.
    We have modified/created the rules file and after the deployment if we execute the rules file from the treatment then we got the error message like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file
    "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error
    write to "/pgcre701/pgc/trc/PGC_150310_103739_pgc_nature_for_data_che.err";
       ERROR - 1019006 - Unable to Read
    [/logiciel/epm11/user_projects/epm_inst4/EssbaseServer/app/PGC_CHE/Pgc_che/DO_MX_05.rul], Created Using A
    Previous Version.
       ERROR - 1241101 - Unexpected Essbase error 1019006.
    If the same rules file opened through EAS console from SVN trunk or local and save as this rule file into Essbase server(through EAS console) then the rules file working correctly from the treatment process launch like mentioned below.
    MAXL> Import database PGC_CHE.Pgc_che data from data_file "/pgcre701/pgc/subsidiary/che/tfi/pgc_nature_for_data_che.txt" using server rules_file "DO_MX_05" on error write to "/pgcre701/pgc/trc/PGC_150310_134622_pgc_nature_for_data_che.err";
    OK/INFO - 1019061 - Reading Rule SQL Information For Database [Pgc_che].
    OK/INFO - 1019025 - Reading Rules From Rule Object For Database [Pgc_che].
    OK/INFO - 1003040 - Parallel dataload enabled: [1] block prepare threads, [1] block write threads..
    OK/INFO - 1003037 - Data Load Updated [18800] cells.
    OK/INFO - 1003053 - Data Load Elapsed Time with [DO_MX_05.rul] : [1.16] seconds.
    OK/INFO - 1241113 - Database import completed ['PGC_CHE'.'Pgc_che'].
    Could you please help us on this point ?
    Thanks in advance for your help.
    Essbase server 11.1.2.3.501 server LINUX red hat

    Hi John,
    it's not quite that
    I will provide more detail:
    In fact, we are 3 server Essbase : development, acceptance and operational there are a lot the new version of Essbase 11.1.2.3.501.
    The maxl treatment are launch since a other server : a treatment server that are a client maxl and ESSCMD in the same version.
    Before that, I'm migrate all the application and database from all alder server Essbase to this new architecture Essbase.
    All application and DATABASE (in BSO) was migrated by expot-import process, the all object (csc, rul, rep ...) was transfer by copy in each directories of database.
    The test after migration are very  satisfying.
    Now, we are on process of life on the Essbase server 11.1.2.3.501.
    The back office of India used the usually process to developed the lot.
    They take the source on SVN application (take the rule), deployed the rule on the development server, modify the rule and have this error.
    This error not appear after migration with the same rule ...
    I am skeptical
    Tx to your help on this subject.

  • Need help with rule file

    Hello
    I'm trying to make a load rule that has a data source that is a number and map to a text member?. For example if the data source reads "1" I need the need the data to link to the member "January".
    Is this a script? Thanks a lot.

    Is this in a single column? if so the previous response will work if in the outline you ahve the month number as the member name and the alias be the month name. Another option is to use the replace option in the load rule, start with 12 and replace it with December, then 11 etc.
    If you are saying each column is a different year/month combo, then defune in the load rule the combo then it reresents. If field 5 is 2008 jan, then in the data load tab, have that as the column definition 2008,jan

  • Problem with rule file ,not able to create  a new column

    I am trying to create a text temp in column 53 and trying to join with another column54.A new column temp is created but some filelds are blank instead of temp.I donot understand why it is happening like this ,what is the reason behingd this .
    Thanks

    Check out the following thread..
    Re: SLD forbidden access
    Your user id has to be assigned to the group JDI.develeopers
    Regards
    Krupa
    Message was edited by: Krupakar Oleti

  • Import dimension and member via maxl, how to create data file and rule file

    Hi
    I have a task to import dimension and member into Essbase, for project requirement, I have to use text file or spreadsheet file.
    I wonder which format can be imported into Essbase?
    I tried to create them, failed.
    Do you have any samples to help me? dimension file and rule file...
    I search a lot in http://gerardnico.com/wiki/epm/essbase/dimension_build#about , but there are no samples.
    Thanks in advance...
    Best regards,
    Samantha

    import database Sample.Basic data from data_file 'C:\TEMP\GENREF.txt' using rules_file 'C:\TEMP\GENREF.rul' on error append to 'C:\TEMP\logs\dimbuild.log';Here issue is not with rulefile but in reading the rule file.
    I hope rule file is in the database directory (By default it will get saved there only)
    Try with the below command
    import database Sample.Basic data from data_file 'C:\TEMP\GENREF.txt' using server rules_file 'GENREF' on error append to 'C:\TEMP\logs\dimbuild.log';
    Rule file also had one issue
    Market, Product, Measures, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, DecHere I am seeing only four dimensions from the Sample.Basic database
    Scenario is missing. So define Actual (Scenario Dimension member) in the rule file header definition.
    All dimensions must be identified to parse one data file with rule file.
    PS: Naming (GENREF) is also irrelevant if you are loading data. It is apt for dim load.

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

  • Pls Help me with steps to add data from xml file to SAP B1 through B1iSN.

    Pls Help me with steps to add data from xml file to SAP B1 through B1iSN. I  am getting stuck in xsl transformation. not able to understand where the mapping code needs to be added.
    Pls explain me the steps for adding data from xml to B1 quotation step by step.
    thanks and regards
    Priya

    Hi,
    Have you checked this: https://sap.na.pgiconnect.com/p45508295/?launcher=false&fcsContent=true&pbMode=normal ?
    Thanks,
    Gordon

  • \\Error Reading Rules File when dimbuild with DLR

    Hi
    I am using Essbase 11.1.2.1.
    I create a DLR via the web console EAS (11.1.2.1 too) : a very simple one : dimbuild DLR, ";" as separator, 2 fields (parent and child)
    when i try do do a "Update Ouline..." with a very simple file (1 line : accounts;test) I have this error message "\\Error Reading Rules File"
    I don't know if it can help but if I create the same DLR on another 7.1 essbase serveur through this same wec eas console (11.1.2.1), I have no problem...
    another information, too : my 11.1.2.1 server has a //ESS_LOCALE English_UnitedStates.Latin1@Binary ESSLANG. My 7.1 server has a //ESS_LOCALE French_France.ISO-8859-15@Default ESSLANG. I really don't know if there is a link, or absolutely not.
    Thanks in advance for your help!
    Fanny

    unable to load essmsh.exe : the error message seems to indicate that it is a problem with a path in the environment variables.
    So if you say that the "Error Reading Rules File" is typically a path issue, all is probably linked!
    The admin will probably correct that tomorrow : I let you know if it solves the problem!
    Thanks!
    Fanny

  • Susbtitution Variables in rules file to replace a member name with another

    Hi everybody,
    Can I use substitution variables to replace a member name with another name in rules file?
    Please let me know if we can use substitution vars.
    Essbase version :11.1.2
    Thanks,
    K.as

    Are you the same guy?
    http://www.network54.com/Forum/58296/thread/1287447433/Susbtitution+Variables+in+rules+file+to+replace+a+member+name+with+another+name
    The answer is still, "No".
    Regards,
    Cameron Lackpour

  • Is this possible: SQL Dataload with generic rule file?

    Hello,
    when loading a flat file into Essbase, one can define in the header the data load field names. In the data load, the dimension names are given and at the end the Data. In the rule file under Options > Data source properties > Header a reference to this line could be made. This works fine.
    We want to load data with SQL in the same way. One load rule with a substitution variable for the view selection and we can use it for all data loads. We have specified the dimension names in the table column header. The data column was defined as "data" - without quotes.
    The result so far is, it will not load.
    The question is - does somebody tried this before and can help me on this?
    Thanks in advance.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

    the data column can be repersented in multiple ways, the way I typically do it is to define it to the member it belongs to. In my example where your substitution variable &currmth is "Jan" then "Jan" would be the column name. Next month when the sub var changes to Feb, it is Feb.

  • How can I load a data in multiple period with a rule files?

    Hi!
    I need to create a rule file the permit me to load a record with multiple period.
    How can I do it?
    Thanks in advance.
    Bye

    As Glenn said, these two types are the typical input files.
    two ways that I can easily think of, but there are more.
    1. Have a row memberwith the period so for sample basic, the row would look lik
    cola,ny,actual,sales,Jan,100
    First case in the rule file you have to map all the member fileds with the dimension name and the data column with the data field.
    2. Have the data for each month as as the column members
    Here is the header followed by a data sample(again for sample basic)
    Product,Market,Scenario,Measure,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    1oo-10,NY,Actual,Sales,100,100,100,100,100,100,100,010,122,111,222,333
    Second case in the rule file you have to map all the member fileds with the corresponding dimension name and the multiple data columns with the corresponding member names for that dimension.

  • Is there a download and convert in a single step option in the flashdownloader 2.6.8. add-on? I end up with two files, one downloaded original and one converted to my chosen format.

    Files are downloaded and only then encoded, so I end up with two files in the drive.

    That has been like that since Firefox 3.0 was released in June 2008 - 7 major version releases thus far with it like that and the developers haven't changed it - so I wouldn't count on it.
    When I want to save a duplicate bookmark, I just "grab" the website image in the Location Bar and drag it into the Bookmarks Sidebar, into the folder where I want it placed. On Windows and Linux, { Ctrl + B } opens the sidebar and then just drag.

Maybe you are looking for