Creating rule file

Hi,
Can i create rules file like below , unable to define for more than one level 0 member from the same dimension. (can define by taking all the level 0 values in column , but dont want like that)
Level 0,Time Alias 0,Time Level 0,Time Alias 0,Time --- ---
Jan-08 January Feb-08 February --- ---

Hi,
generally, you have cubes ,with dimension ,along with hundreds members ( much more than that too , in few cases).All these members ,majority are of level 0. You can make rules files across the column picks.your format of horizantal way is not possible .
May i know ,what exactly you are trying to achieve out of this .
rather , pick your data source file and make changes to suit to the needs of essbase rule file
Sandeep Reddy Enti
HCC
http://analytiks.blogspot.com

Similar Messages

  • How do I create rules files in Sap Data Services

    Hello Guys,
    I'm new with Bo Sap Development Data Services, and am migrating SSIS packages 2008 for the bods.
    I am studying the process of cleanup and word processing via bods.
    But I noticed that my installation does not have Rules Files.
    My question is:
    How do I create rules files in Sap Data Services library with support for Portuguese?

    Hello Ramana,
    So with version 4.2 of Sap Data Services do not currently have the rules files?
    How to mount files for text comparison Cleanse facing Addresses, Names, Clients, Companies? If you can give me some help link?
    Thanks again ...

  • Substitution variable is not visible at Data Prep editor-creating rule file

    Hi,
    We are working on Essbase 9.3.1, Oracle as a database source for loading the data into Essbase.
    We have create a substitution variable at "server level" to use it in rule file as a DSN for data source. But this substitution variable is not visible in the drop down of substitution variable in 'Data prep editor' while creating the rule file.
    We restarted the Essbase server also but still it is not visible in 'data prep editor'.
    Any help will appreciated on this issue.
    Thanks & Regards,
    Mohit Jain

    Cameron-
    1) yes I've tried it on 2 different clients
    2) yes I've tried it on the server
    3) I haven't tried that, but don't normally use MaxL for anything
    4) I took a 'broken' rule, saved it locally, closed and reopened and it still didn't work
    5) I normally do files on the server, but I can't even get to that point because when I get the 'Open Data File' nothing happens, no dialog box pops up, so I don't get the chance to select the location
    6) This is a production server and EAS is running as a service, so I'd have to test this one afterhours.
    Because it happens on 3 separate PC's I'd eliminate bad EAS, since only some rules do it and others don't I'd think it could be corrupt rules, but it'll happen to new rules just as fast, and they still work just fine, so if that's the case I need to figure out what is corrupting them...
    Network issues wouldn't surprise me, I get TCP/IP errors regularly saying I have to increase my net retry count, but I've tweaked with those settings tons... looks like those are really the database server is running out of memory even though I have 4GB physical 16MB Virtual memory (32 bit environment though... I do have the /3GB switch turned on)... I've had to scale my caches way back to allow certain databases to even function.
    Thanks for your help.
    Edited by: Norton5150 on May 28, 2009 2:12 PM

  • Doubts In creating rule file for the given flat file.

    Dear All,
    How to create the rule file for following data. Kindly guide us to proceed further.
    "Sales" "COGS" "Margin" "Marketing" "Payroll" "Misc" "Total Expenses" "Profit" "Opening Inventory" "Additions" "Ending Inventory" "Margin %" "Profit %"
    "100-10" "New York"
    "Jan" "Actual" 678 271 407 94 51 0 145 262 2101 644 2067 60.02949852507374 38.64306784660767
    "Feb" "Actual" 645 258 387 90 51 1 142 245 2067 619 2041 60 37.98449612403101
    "Mar" "Actual" 675 270 405 94 51 1 146 259 2041 742 2108 60 38.37037037037037
    "Qtr1" "Actual" 1998 799 1199 278 153 2 433 766 2101 2005 2108 60.01001001001001 38.33833833833834
    "Apr" "Actual" 712 284 428 99 53 0 152 276 2108 854 2250 60.1123595505618 38.76404494382022
    "May" "Actual" 756 302 454 105 53 1 159 295 2250 982 2476 60.05291005291006 39.02116402116403
    "Jun" "Actual" 890 356 534 124 53 0 177 357 2476 1068 2654 60 40.1123595505618
    "Qtr2" "Actual" 2358 942 1416 328 159 1 488 928 2108 2904 2654 60.05089058524173 39.35538592027142
    "Jul" "Actual" 912 364 548 127 51 0 178 370 2654 875 2617 60.08771929824561 40.57017543859649
    "Aug" "Actual" 910 364 546 127 51 0 178 368 2617 873 2580 60 40.43956043956044
    "Sep" "Actual" 790 316 474 110 51 1 162 312 2580 758 2548 60 39.49367088607595
    "Qtr3" "Actual" 2612 1044 1568 364 153 1 518 1050 2654 2506 2548 60.03062787136294 40.19908116385911
    "Oct" "Actual" 650 260 390 91 51 1 143 247 2548 682 2580 60 38
    "Nov" "Actual" 623 249 374 87 51 0 138 236 2580 685 2642 60.03210272873194 37.88121990369181
    "Dec" "Actual" 699 279 420 97 51 1 149 271 2642 671 2614 60.08583690987125 38.76967095851216
    "Qtr4" "Actual" 1972 788 1184 275 153 2 430 754 2548 2038 2614 60.04056795131846 38.23529411764706
    Thanks And regards
    Sai

    Hi,
    Create 1 text file in this way, the file is tab separated. The first line is Header line. So do a setting to skip that line while you are loading a data.(Options -> Data Source Property -> Header -> No of lines to skip 1)
    "Product" "market" "Period" "Scenario" "Sales" "COGS" "Margin"..... "Profit %"
    100-10     New York     Jan     Actual     678     271     407     94     51     0     145     262     2101     644     2067     60.02949853     38.64306784660767 
    100-10     New York     Feb     Actual     645     258     387     90     51     1     142     245     2067     619     2041     60     37.98449612403101 
    and copy paste all your complete data lines below this and save your text file.
    Create 1 rule file and open this text file in it and then provide a field settings one by one. Do the necessary settings also.
    Hope this helps.
    regards
    SST.....

  • Unable to create rule file

    Hi,
    I am trying to create a rule file in one essbase cube using the level 0 export (extract in column format) from another cube of a different application. Level0 data file is saved in the local machine from where I am running Essbase. While creating the rule file, trying to open the data file, error message comes like "Invalid blank character in name". Can anyone please let me know what the error can be?
    Thanks.

    I had a similar issue in the past,
    Even if the file is placed on Desktop at times EAS was picking it, but always failed with MaxL may be because of it's syntax and the way it can read the path. Maybe there are other factors as well.
    But it's always better to put the file in a path without spaces and it'll work fine always. :)

  • Creating Rule file to pull data from OCI Interface

    Hi.
    I am new to OCI, I have worked on DSN method earlier to pull data from database.
    Can someone give me steps of how to pull data from OCI interface.
    My database is Oracle 11gR2 and I am using 11.1.2.2 Fusion version.
    Regards
    Mahesh Balla

    The following post may help - Re: Essbase Rules Files and OCI
    There have been a number of issues relating to data and using OCI, I am not sure whether they are all resolved in 11.1.2.2 so if you are using OCI make sure you validate the data once loaded into essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Creation of rule file for adding aliases to Members

    Please help me in creation of rule file for adding of aliases to the members. I have created a new alias table along with default alias table.
    These are the members and alias names for the newly created alias table.
    0000002452     TA     
    0000002459     HJ
    0000002460     HK
    0000002462     HM
    0000004012     CB
    0000004015     EA
    0000004025     BA
    0000004070     DA
    0000004087     GC     
    0000004088     FD
    0000006231     CM
    0000009103     WP
    0000009106     WV
    0000009126     WW
    0000008458     NH
    0000008475     NY
    0000008481     NF
    0000008483     NG
    The below are the members and aliases for the default alias table.
    0000001209     P&S Storage Facilities
    0000001210     1210 US Procurement & Supply
    0000002452     Warren Truck Assembly
    0000002459     Toledo I Assembly
    0000002460     Toledo II Assembly
    0000002462     Toledo III Assembly
    0000004001     US Manufacturing Group Office
    0000004012     Jefferson North Assembly
    0000004015     Belvidere Assembly
    0000004025     Sterling Heights Assembly
    0000004070     Newark Assembly
    0000004087     St Louis North Assembly II
    0000004088     St Louis South Assembly II
    0000004199     Pilot Operations
    0000004501     Opm
    0000005111     Kokomo Casting
    0000005203     Trenton Engine
    0000005205     Kenosha Engine
    0000005209     New Mack Avenue Engine
    0000005304     Detroit Axle
    0000005305     Kokomo Complex
    0000005308     Indiana Transmission
    0000005403     New Castle Machining & Forge
    0000005404     McGraw Glass
    0000005406     Toledo Machining
    0000006203     Warren Stamping
    0000006204     Twinsburg Stamping
    0000006215     Sterling Heights Stamping
    0000006231     Conner Avenue Assembly
    0000002100     2100 Sales & Marketing
    0000005221     GEMA - Plant1 Ops
    0000009006     9006 Canadian Customs
    0000009008     Canadian Manufacturing Group Office
    0000009103     Windsor Assembly
    0000009104     Etobicoke Casting
    0000009106     Pillette Road Assembly
    0000009126     Bramalea Assembly
    0000008458     Atos
    0000008475     Saltillo Truck Plant
    0000008481     Toluca Assembly Plant
    0000008483     Lago Alberto Truck Plant
    Now I have to create rule files to update these aliases.
    Please elaborate, so that it will be clear for me. As I am new, please make it up with steps.

    You dont need to create a rule file. You can create a alias table like this in a notapad
    $ALT_NAME 'First'
    0000002452 TA
    0000002459 HJ
    0000002460 HK
    0000002462 HM
    0000004012 CB
    0000004015 EA
    0000004025 BA
    0000004070 DA
    0000004087 GC
    0000004088 FD
    0000006231 CM
    0000009103 WP
    0000009106 WV
    0000009126 WW
    0000008458 NH
    0000008475 NY
    0000008481 NF
    0000008483 NG
    $END
    and Save it as First.alt and You can import like this
    1)Open the outline in edit mode.
    2)Select Outline > Import alias table.
    3)In the Open dialog box, select the alias table import file.
    4)Click OK.
    go to outline properties and the new alias table must be made Set as active to view the alias names.
    you can create and import up to 10 alias tables

  • Data Load file and Rule file Creation

    Hi,
    I have used to create Rule file and Data file for loading data into Essbase 7.1.6 version.
    Past two years I didnt work in Essbase and forget the option, field properities, data load file creation.
    Could you please advice me or any demo for creating rule file as well data files?.

    Two things I could suggest.
    1. look at the Sample.basic application it has dimension and data load rules for all sorts of scenarios
    2. Come to my session at Kaleidoscope Rules files beginning to advanced where I go over some of the more interesting things with rules files

  • Rule Files

    Hi All,I have created a rule File for building dimensions using the Essbase Administration Services. Is there any way to create rule files without using EssBase Administration Services. Give me the idea to create the rule file using MaxL or EssCmd.Thanks in Advance

    You cannot create a rules file externally to EAS or App Manager - wouldn't that be nice? But you can load data in a free form method. One structure that we have found that works is comma or tab delimited files - these can be loaded with no rules. The files need to follow a certain structure - the one that is working for us is: ONE data column per record, and any fields that represent members that are numeric (like account numbers) have to be in " "... We can then manipulate the SQL that creates the text file on the fly in our batch process. Good luck...

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

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

  • Create Attribute Dimension by rule file

    Hi,
    How can we create an attribute dimension and associtae members of sparse dimension with members of attribute dimension by using a rule file?
    There is no option of 'Attribute' under dimension type in dimension propertites.
    Plz help on it.
    Atul K

    First you have to create a standard dimension and made the storage setting sparse.
    Then, you can create another dimension of type Attribute and associate it with the standard sparse dimension.
    Then you can write rule files for attributes.
    If you are assigning the attribute dimension MKT_TYPE to the standard dimension MARKET and the generation 4 is the last.
    The typical rule file is like this:
    Gen4, MARKET MKT_TYPE 4, MARKET
    New york Big Market
    Washington Small Market

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

  • Write a jave file for creating rules

    Hello,
    How can I write a java file that helps me to create rules? What all do I need
    to import ? And from what do I have to extend my java class?
    Thanx in advance!
    Madhu.

    You might look at some of the examples that do this already, either in AUR or ABS.
    Some examples:
    various games
    j2re
    flash-plugin
    opera
    acroread
    if you run the command 'abs' as root, you can find these PKGBUILDs in subdirectories of /var/abs.  Hopefully you could adapt one of those to your binary program.
    Dusty

  • Unable to create .fsm file in Text Data Processing from .rul file

    I am trying to compile english-tf-voc-sentiment.rul file to generate english-tf-voc-sentiment.fsm file using below command from cmd.
    tf-cgc -i C:\Users\336655\Desktop\Modified\english-tf-voc-sentiment.rul -o C:\Users\336655\Desktop\Modified\english-tf-voc-sentiment.fsm
    But getting below error.
    Error: Could not open file ./english-tf-voc-thesaurus.rul
    Error: Could not build FSM file.
    where as english-tf-voc-thesaurus.rul is file which is called by english-tf-voc-sentiment.rul file
    Any idea how to resolve this issue?

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

Maybe you are looking for