Rule files for dataload
Hi All,
I am a newbie to essbase and trying to load data from ODI. I am not very clear with the concept of rule file. Request you to throw some light on the below cases:
Is rule mandatory for loading metadata?
Is rule not required for loading data to the essbase database? In this case, my observation is that i am able to load data using rule file and also by not using rule file. So, in what circumstances the rule file is required?
Note: The sample code by Oracle for loading data to the essbase cube, has interfaces to load metadata using rule file and interfaces to load data without using rule file.
Regards
Hi John,
Thanks for the response.
Another issue is , the interface that loads data to the essbase cube using IKM SQL to HYPERION Essbase (DATA) knowledge module is deleting the rule file after the load. But, I do not see any step in ODI logs that deletes the rule file.On the other hand, we do not see such behavior with IKM SQL to HYPERION Essbase (METADATA) knowledge module.
Regards
Ashwin
Similar Messages
-
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 -
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
SaiHi,
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..... -
AMA Search Rule Files For BEA Weblogic
Hi friends,
I am looking for AMA search rule files for BEA weblogic.I downloaded this from http://www.oracle.com/technology/tech/migration/ama/exchange/download_bea.html.But I am not able to add it to the AMA Tool in Oracle Jdeveloper.I browse for XML file and click on ok,it hangs.
Can somebody tell me,what could be the issue.
Thanks,
Aparna./stopWebLogic.sh[33]: -Xms256m: not found.
this can be produced by something like this:
javaoptions="-Xms256m" // or other option too
$javacmd $javaoptions
Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case. -
Rule file for generating XPath for forms problem
Hi, suggestion
"Rule file is invalid or missing. Please recreate it as followings: Navigate to OpenScript menu: View->OpenScript Preferences..->OpenScript->Record->Oracle EBS/Forms
Functional->Object Identification(tab), click 'Apply', then click 'OK'"
does not work, still the same error in Diagnostics tool (OATS Openscript 12.2.0.1) IE 8
Best regards
DCWe would like to move the ruleset data from GRC CC 5.3 to GRC CC 5.2
We dont know if the rule export format has changed from 5.3 to 5.2
So the idea is that we would export the 'function authorization' data from 5.3 CC table, and upload it in the
correct 5.2 format, using Configuration -> Rule upload-> Function Authorization.
Thanks -
Substitution variable using in rules file
Hi,
I have a requirement to load the data only for the current month. But, my source file is having data for all the months till current month.
ex: I have to load data for MAY. But, source file is having data from JAN to MAY
Its a monthly process and it should load the data only for the current month using substitution variable.
Means next month I will be having JAN to JUN data. But, I should load only JUN data.
Could any one help in building rules file for this requirement.
Thanks
SriIs the data coming from SQL or a flat file? And is JAN through MAY represented in multiple columns or multiple rows?
As Evgeniy says if it's a SQL source, you can use a subvar in the SQL statement. If it's a flat file (and your periods appear as multiple rows) you can use a subvar in a SELECT/REJECT criteria.
Honestly though, if a feeding system is producing a flat file for you, I would try and arrange to have the flat file contain only the data that is actually required. Parsing a file that is up to 12 times larger than necessary is inefficient. -
Udev rules file as an alternative to ASMLib
Grid Version: 11.2.0.3
OS: Oracle Enterprise Linux 6.3
I always wanted to avoid ASMLib. Now we are exploring the use of udev rules file to maintain
1. Ownership of shared LUNs
2. Permissions of shared LUNs.
But, as the below book suggests, udev only provides a way to maintain ownership and permission of LUNs (/dev entries)
How can I make sure that the device names, say /dev/xvda remains same across node reboots ? We have had Linux machines booting up with different /dev names in the past .
http://books.google.com.my/books?id=gbp5AAAAQBAJ&pg=PA144&lpg=PA144&dq=%22ASMLib+that+provides+an+alternative%22&source=bl&ots=6dcIeRfcU9&sig=V-xcAihZiS69LusLTBgEQpTJTOI&hl=en&sa=X&ei=U5ZNUofIBcHZrQeD7YGoCQ&redir_esc=y#v=onepage&q=%22ASMLib%20that%20provides%20an%20alternative%22&f=falseI set ownership of LUNs via the udev multipath rules file as described in Re: Can I use udev rules file for 11.2.0.3 RAC on Oracle Enterprise Linux 6 ?
I use multipath configuration to configure the LUNs as described in Re: Install Oracle 11gr2 2Node RAC on ASM -
BART ignoring entries in rules file.
I've been using bart(1M) for some time now and I recently noticed that it totally ignores entries when you wish to exclude one or more subdirectories. So, for example, if I try to create a manifest for /usr/aset without including the tmp and reports directories it turns out empty.
So, when using a rules file like this:
# GLOBAL rules
CHECK all
IGNORE dirmtime
# Check ASET
/usr/aset !reports/ !tmp/
It will create a manifest without any rules, while it should be possible to exclude subdirectories as far as I know. This approach works excellent when it comes to excluding files...
So when I use "bart create -r ./rules > manifest" with the above ruleset I get a file which only contains the default header lines and nothing else.
Is this a bug or did I overlook an option ?I set ownership of LUNs via the udev multipath rules file as described in Re: Can I use udev rules file for 11.2.0.3 RAC on Oracle Enterprise Linux 6 ?
I use multipath configuration to configure the LUNs as described in Re: Install Oracle 11gr2 2Node RAC on ASM -
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 KFirst 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 -
Replacing in rule file,Essbase
Hi all ,
I have strings in the source data file as below
ABC
ABC -0.5
ABC -1..etc
Basically this is a smart list .. I am trying to write a rule file for this as below to load to essbase
If ABC replace with 0
If ABC -0.5 replace with 1
If ABC -1 replace with 2 etc ...
But whenever there is a space in the record like above ( ABC -0.5) this rule is giving the record as 1 -0.5 . that is it is initially replacing the ABC as 1.
I tried to give option as Match whole word ... in the rule file but thisd is not getting enabled if there is a space in the field . If i give ABC-0.5(that is wihtout spaces) then "Macth whole word " option is working out.
Please let me knoe how to handle this in rule file.
Thanks in advanceYou should correct that in your source file rather than trying to adjust it in load rule. Imagine that you did achieve it by splitting and joining the columns back, what will happen when one day it starts coming without a space?
Regards
Celvin
http://www.orahyplabs.com -
Hi
How does ODI works when I use rule file to load data into Essbase. Does it still uses the KM or it uses rule file to load data..
I know there is a bug in Essbase KM for data load.. whats the difference in having the load rule in the interface to not having the load rule for loading data?
Also for loading Dimensions can load more that one dimension in the same interface using the load rule?
-appHi,
1. Essbase is not a RDBMS, but it has its own database - file based.
So, we would need a rule file to load data to Essbase.
2. We cannot load to 2 different dimensions with the same integration [This is because every essbase dimension becomes a target and you cannot specify more than one target in an integration].
Even in the Essbase rule files, you need seperate rule files for different dimensions. This is because every dimension has different properties and Essbase needs to know which dimension to send the members, while loading.
Let me know if this help..
Cheers,
RS -
Hi all,I have one confusion i.e. Can we use a single rule for Multiple Dimensions buildings.For Example Like we have a TRK Dimension in my outline we are using abc.rul file and abc.txt file for building this Dimension.And can we use the same rule file for another dimension Building . If the structure of this dimension is not same as it is for TRK. and may be the data file is same or different.thanks in Advance..............
The short answer to your question is Yes, you can have one rule build multiple dimensions. for example. I sometimes build multiple dimensions from my data laod file. An example is a file with the fillowing columns (which could modify Sample Basic)Year, Month, day,product group, product code, product alias, division,state,account, amtFrom that you could build the year dimension the product dimension (not the alternate roll-up) and the Market dimensions
-
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...
-
Error while opening SQL source for a Data Load Rules File
Hi ,I have created Data Laod rules file.When I try to open a SQL source for this rules file (File->Open SQL) , I get an error saying "Your server does not have a SQL connection Option, Please check with your system administrator"Further I get a message "There are no data sources defined. PLease create one to continue.".I have created DSN on my Essbase server.What is the problem.What needs to done to open SQL files.Thanks.
I have Essbase 7.1 I guess for version 7.1 the SQL interface option is intalled with the Analytic server itself .Am I right?I have setup the DSN also.Please help to resolve this issue.Thanks .
-
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.nlthe 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.
Maybe you are looking for
-
Changing address in sales order item level
Dear very good mng i want to know , i am trying to change ship to party address in sales order line item level but showing Gray mode only .. i have maintained Sales document item level ( partners) Removed check box not modifiable And i activated Ite
-
How to lose( info message service)
i have a nokia 2220 slider.every day it beeps about twenty or thirty times, the message it displays is. check info service. i havnt' got a clue how to do it ,any help would be welcome.
-
BB Link - Sync not possible - Support needed
BB Link advised me to upgrade to the new designed BB Link Version 1.2.3.23 As immediate effect, the sync of the calender does not work anymore with the remark "Sync failed - calender data could not be processed" Two questions 1) how can I solve this
-
Is anyone else having problem with installing Lightroom 3.4.1? I've downloaded the file from the Adobe site, saved to my computer and run the installation. However, the version number keeps coming back as LR 3.4 and when opening LR, I'm asked if I w
-
How to add a social profile for LinkedIn to the Contacts app?
In the Contacts app is an option to add a social profile. One of the listed social profiles is for LinkedIn. How is this content formatted? I tried entering my public ID but clicking this link results in a page not found error. I contacted technical