Building RULES file to load shared members in Aggregate storgage outline

Hi there
I posted this yesterday (sorry, somewhat different subject description). I am trying to create an alternate hierarchy containing shared members using a load rule and flat file in an Aggregate Storage outline. One response was to remove the "allow moves" option and use parent child build in the load rule. I tried that and it did not work. i was pointed to a section in the essbase guide (which is about as clear as mud), and still cannot get this to work. First of all - can you do this with an ASO outline? If so, how? I tried a simple 6 line flat file and recreated the load rule based on the above recommendations and it will not the shared members. Can someone out there help?
thanks

Here is an example in the simplest form.
Create Aso db (duplicate members names not selected)
Create Product dimension member, set to "Multiple Hieararchies Enabled", (though probably would work if dynamic)
Create load rule, set as parent/child dimension build for product, make sure allow moves is not ticked.
Data file
Parent,Child
100,100-20
200,200-20
Diet,100-20
Assign field properties in rule for Parent.Child
Load data, 100-20 will be created as shared.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to load shared members into a duplicate outline using load rules

    Hello, I am trying to load an alternate hierarchy into the same dimension in an outline that accepts duplicate members using EAS load rules ... there is no property for shared members so i can't specify it in the load rule .. i tried using parent child and it is not working - no shared members are loaded in the alternate hierarchy .. any ideas? would another utility make it happen?
    thx

    You might find this useful: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/dotdimb.htm
    Especially the Building Shared Members by Using a Rules File section: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/dotdimb.htm#dotdimb1061244
    Cheers,
    Mehmet

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

  • Loading shared members from interface tables

    Hi,
    I am loading data to Hyp. Planning via interface tables. I need to load shared members. Where can i tell him that this is a shared member?
    thank you very much
    lubos

    Will not it cause probles when loading shared members first before the original ones?
    I thought that DataStorage only accpet values like StoreData, NeverShare etc.
    I will try it out.
    Thank you very much for your help
    lubos

  • How to load shared members in Essbase

    Can anyone tell me how to load Shared Members in Essbase using ODI
    -app

    Did you not already ask the question :- Essbase Error log issue for Shared Members
    You never answered my question to your original post.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Get problem when create dimension using dimension build rule file

    I got the following warning when I tried to load dimension. I have a product dimension hierarchy which contains 6 levels. I manually create a dimension call product which include six generations. I also create a rule file using SQL. This SQL selects 6 columns and I map each column to each generation. When I load data to build dimension, I always got the following warning and only some part of data get loaded. Anybody know that? Do I have to load parent first before loading child or I can load them at same time?
    Thanks
    \\Record #1 - Incorrect Parent [10] For Member [10] (3307)
    1     2     3     10     10     171     
    \\Record #2 - Incorrect Parent [1] For Member [1] (3307)
    1     1     1     8     8     39

    You are getting duplicate names. YOu need to prefix or suffix (or sql concatinate) to make the members unique. in the record 1 example you might want the outpout to look like
    Product line 1 Group 2 subgroup 3 Product family 10 product 10 sku 171
    Of course I used full names to make it undersatandable, some would use one, two or three letter abrevaitions.

  • Error while using Rule file in loading data into Essbase through ODI

    Hi Experts,
    I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule fule to add values to existing values am getting error.
    test is my Rule file.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where      (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()
    Please help me on this...
    Thanks & Regards,
    Chinnu

    Hi Priya,
    Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
    Please help on this.
    Thanks,
    Chinnu

  • Duplicate Member Outline and Loading Shared Members

    I have an outline where I want to allow duplicate member names but in some cases I will need shared members. I am trying to build the outline parent child and I cannot get it to understand the fact that I want a shared member.
    Here is an example:
    [market],east
    [market],west
    [market],other
    [market].[east], nj
    [market].[east], ny
    [market].[west], ca
    [market].[west], lv
    [market].[other],[market].[west].[lv] <--- this should be shared
    [market].[other],ny <--- this should not be shared
    Does anyone know how to do this?

    If you would like to less the charecters and if you are retrieving the data using SQL, then you could using the Substr function to restrict the characters to 80 substr( string, start_position, [ length ] )

  • Err:Two-pass & Expence reporting properties from dimension build rules file

    Hi All,
    i'm trying to build account dimension from rules file along with properties.
    My source file for dimension building is like below:
    Parent,Member Name,Alias,Consolidation,Storage,Time Balance,TB Skip,Variance Reporting,Two Pass,Formula,UDA1:Account
    Account,Acc1,,+,Dynamic Calc,None,None,Non-Expense,Two-Pass Calc,,Revenue
    Acc1,Acc2,,+,Dynamic Calc,None,None,Non-Expense,Not Two-Pass,,Revenue
    Acc1,Acc3,,+,Dynamic Calc,None,None,Non-Expense,Not Two-Pass,,Revenue
    after building dimension 'non two-pass' values are showing as 'two-pass' and 'non-expense' are showing as 'Expense'.
    if any one knows please let me know.
    Thanks in advance.
    Kiran

    Try using member property codes :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/frameset.htm?dotrules.htm#dotrules_2
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Create Outline by a bimension build rule file

    How we can create a new outline by a rule file. I am able to create the rule file but don't know how to use to create the outline. Please help.

    Check out this link:
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/dotrules.htm
    After making a rule file:
    Right Click on the database
    Select Load Data
    Check Buid only in the mode
    Then locate datafile and rulefile.
    Or click on the outline..
    then in Menu select Outline menu, then update outline.
    Cheers..!!!

  • Dimension build rule file (Sort member)

    I am loading sorted data for one of the dimension. But its is not coming in sorted fashion in outline. New member which i am adding is always coming in The end.Even though that member is in sorted format in the file.
    I am using generation method . I am putting member for only generation 2 and its alias.I tried using ascending option but it is giving me error
    Can any body help me with this

    As Glenn said, the build only builds new members. In order to have FULL control over the order of a resultant dimension's order, you need to blank out the dimension first and then build via the load rule. As Glenn mentioned, you can do "incremental dimension building". You can do this directly in EAS in an interactive manner by using outline/update outline in pull downs. Just do not save the outline until all your changes are done. You can also accomplish incremental builds via Esscmd or via MaxL, but I'll assume for right now you are still testing. The advantages of the incremental changes is that you can do a number of changes before Essbase commits to doing a restructure, which is time consuming, not to mention confusing if you are "deleting" (however temporary) the entire dimension's hierarchy.
    Regarding setting ascending order
    1) in the load rule's Dimension Build Settings prompt
    2) Select Dimension Build Settings tab
    3) highlight the dimension you are changing
    4) select Ascending for sort order
    This should work...I've never had it error out. However, I will say that it sorts the entire dimension...not just the siblings of a new member. Your upper level members will move as well. Because of this, the ascending sort in a load rule is undesirable. Give it a try. If you don't like the results, just don't save the outline.
    Kevin

  • Remove quotes from the data when building rule file

    I get double quotes in one of the field in the file. e.g. Part descirpiton as inches. I have to join part number and part descrption to create one field and create level 0 dimension. When I try to replace " with space after joining the two fields, it does not replace the quotes. If I replace it first and then join the fields, it gives me error "The field type for this field is not valid for the build method associated with this field's dimension."
    What am I doing wrong?
    Thanks
    Please help.

    A double quote is one of the problem children of Essbase. If this is coming in from SQL, you could do a replace on the character to remove it. If it is a flat file, if it is always in the same location, you could split the field on the character and ignore it. It has been a long time since I've had to deal with the problem, but I think I ran my file through some preprocessing to remove it.

  • Shared Members in Duplicate Members Hierarchy

    It seems that many people have asked this question on this forum but I am yet to find a solution.  Most of the posts were about 5 years old so I am hoping maybe something new has happened since.
    I have a dimension that has a regular and alternate hierarchy (shared members).  I have changed this dimension to duplicate members enabled.  Once I have this turned on, my regular dimension build rule no longer creates shared members but instead creates a new member of the same name.  I cannot find any property that I can put in the dimension load rule to specifically tag members as shared.  The only way that I can change it is in EAS one by one.  Is there any fix that allows me to load shared members through a load rule with duplicate members enabled?

    You may have seen my posts on this on Network54 from 2007 or so while you were searching.  I could never find a way to do this, and there is no property to tag members as "Shared" to the best of my knowledge.  I tried it again quite recently (in 11.1.2.3.500) and got the same result.

  • Rule file design need to reject some members in the same field

    Hi,
    I'm working on Essbase vrsn11.1.1.3.I'm building dimensions through rules file. I have a .dim file with parent child reference that have 5 fields(parent-child-alias1-alias2-property).
    The requirement is as such that the fourth field (alias2) is to be needed only for some members,Let say i have four members to load(A,B,C,D)Alias1 is required for all four members but alias2 is to be loaded only for B & D members.
    Is there any possibility to full fill this requirement, if so then kindly let me know
    thanks in advance
    Edited by: hyperion on Jan 12, 2012 4:01 PM

    create second rule file and load alias2 only with your select/reject criteria.
    Essbase rule file will reject entire record if at least one column matches up reject condition.

  • Reg: Building Essbase dimension using SQL in rule file

    Hi,
    We are using Essbase 11.1.2.2. I am trying to build a dimension in a cube using SQL query in the rule file, but i am not able to do it.
    I am not able to establish connection to database. Can anyone please give a step by step process to do this.

    If you really, really, really want to do this --- and by that I mean really get rid of everything in a dimension, create a dummy file with a single child.  That single child should have a name that could never exist in your system.  Something like "Forty-seven ginger headed sailors".  Then set the Dimension Build Settings Member Update to "Remove Unspecified".  Run the dim build -- it will clear out all of the dimension.
    Then take your other dim build rule file and use the same Remove Unspecified setting.  That will get rid of the silly member.  The source can be a file or SQL.
    Ta da, you have now cleared out the dim, added a single silly member, cleared out the dim again, and loaded the right members into it.
    There may be a better way to do the above, but I have done exactly that and it works.
    Regards,
    Cameron Lackpour

Maybe you are looking for

  • HT201471 why my ipad mini is keep restarting? please read this quick help!!!

    my ipad mini wifi keeps restarting when i touch the screen or i play some games on it. it will fade to black suddenly, and then it will show the apple logo then and it will turn on then if will use it again it will does the same again.... I reboot it

  • Classic ASP shopping Cart

    Can anyone point me in the right direction please? I'm looking for a 'comprehensive' shopping cart system written in 'Classic ASP' and editable in DW8. It needs to have a fully functioning admin (backend) system and also enable me to add asp code as

  • Error message: Before proceeding you must first launch Adobe Acrobat.....

    When I try to open a PDF on a Web page I get the following message: "Before proceeding you must fist launch Adobe Acrobat and accept the End User License Agreement" I Installed the Adobe Acrobat XI pro an my MAC and after registration, the programm r

  • Unable to open adobe acrobat reader

    I own a nokia n93. For the part few days i've been unable to open the adobe acrobat reader supplied with the device. Whenever i try to open it i get a message which says, ' App closed acrobat reader'. Would greatly appreciate any fruitful suggestions

  • Planned cost correct in value category, problem in actual cost after GI

    Hi, I have maintained cost elements for value categories for material. The cost comes correctly under value category. After doing good issue of this material. The cost comes in maintenance order actual cost. But it does not appear under value categor