Building BSO using ASO Rules file
Hi All,
We are building a new application where in we want to have both ASO and BSO. Eventually we wanted to do partition between these two cubes.
We already have a fully functional ASO with data loaded into it. This ASO also has bunch of rules files using which the ASO cube was built.
We need to build a new BSO and it should have same outline as ASO and in order to achieve this as used the same rules file that are in ASO. I already built the BSO usinng ASO rules files
My issue is with the dimension which are deifned as Multiplw Heirarchy and I would appreciate if some one can help me how do i define them in BSO. Also if some one canhelp me understand what are additional changes that needs to be taken care when I am building BSO using ASO rules files
I am trying to apply a caluclation which is in ASO and I am getting following error -- Error(1200337) - Error compiling formula for [Feb YTD] (line 1): [)] without [(]. As part of my research i found that error code is very generic. I checked the caluclation for missing ) or ( but everything looks good
Any help is greatly appreciated
Thanks
Satish
Your ASO formulas will not work in BSO cube. ASO uses MDX formulas and BSO uses Essbase calc script language. There is a guide in the technical reference that helps convert from one to the other.
As far as multiple hierarchies, BSO does not have this concept. You should be able to load the hierarchies as is with perhaps a few changes to the load rule to address how to handle shared members.
You will not have a direct one to one from BSO to ASO. They are a different architecture and as such have variances that are not 1 to 1 compatible.
Similar Messages
-
How to tune data loading time in BSO using 14 rules files ?
Hello there,
I'm using Hyperion-Essbase-Admin-Services v11.1.1.2 and the BSO Option.
In a nightly process using MAXL i load new data into one Essbase-cube.
In this nightly update process 14 account-members are updated by running 14 rules files one after another.
These rules files connect 14 times by sql-connection to the same oracle database and the same table.
I use this procedure because i cannot load 2 or more data fields using one rules file.
It takes a long time to load up 14 accounts one after other.
Now my Question: How can I minimise this data loading time ?
This is what I found on Oracle Homepage:
What's New
Oracle Essbase V.11.1.1 Release Highlights
Parallel SQL Data Loads- Supports up to 8 rules files via temporary load buffers.
In an Older Thread John said:
As it is version 11 why not use parallel sql loading, you can specify up to 8 load rules to load data in parallel.
Example:
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";
But this is for ASO Option only.
Can I use it in my MAXL also for BSO ?? Is there a sample ?
What else is possible to tune up nightly update time ??
Thanks in advance for every tip,
ZeljkoThanks a lot for your support. I’m just a little confused.
I will use an example to illustrate my problem a bit more clearly.
This is the basic table, in my case a view, which is queried by all 14 rules files:
column1 --- column2 --- column3 --- column4 --- ... ---column n
dim 1 --- dim 2 --- dim 3 --- data1 --- data2 --- data3 --- ... --- data 14
Region -- ID --- Product --- sales --- cogs ---- discounts --- ... --- amount
West --- D1 --- Coffee --- 11001 --- 1,322 --- 10789 --- ... --- 548
West --- D2 --- Tea10 --- 12011 --- 1,325 --- 10548 --- ... --- 589
West --- S1 --- Tea10 --- 14115 --- 1,699 --- 10145 --- ... --- 852
West --- C3 --- Tea10 --- 21053 --- 1,588 --- 10998 --- ... --- 981
East ---- S2 --- Coffee --- 15563 --- 1,458 --- 10991 --- ... --- 876
East ---- D1 --- Tea10 --- 15894 --- 1,664 --- 11615 --- ... --- 156
East ---- D3 --- Coffee --- 19689 --- 1,989 --- 15615 --- ... --- 986
East ---- C1 --- Coffee --- 18897 --- 1,988 --- 11898 --- ... --- 256
East ---- C3 --- Tea10 --- 11699 --- 1,328 --- 12156 --- ... --- 9896
Following 3 out of 14 (load-) rules files to load the data columns into the cube:
Rules File1:
dim 1 --- dim 2 --- dim 3 --- sales --- ignore --- ignore --- ... --- ignore
Rules File2:
dim 1 --- dim 2 --- dim 3 --- ignore --- cogs --- ignore --- ... --- ignore
Rules File14:
dim 1 --- dim 2 --- dim 3 --- ignore --- ignore --- ignore --- ... --- amount
Is the upper table design what GlennS mentioned as a "Data" column concept which only allows a single numeric data value ?
In this case I cant tag two or more columns as “Data fields”. I just can tag one column as “Data field”. Other data fields I have to tag as “ignore fields during data load”. Otherwise, when I validate the rules file, an Error occurs “only one field can contain the Data Field attribute”.
Or may I skip this error massage and just try to tag all 14 fields as “Data fields” and “load data” ?
Please advise.
Am I right that the other way is to reconstruct the table/view (and the rules files) like follows to load all of the data in one pass:
dim 0 --- dim 1 --- dim 2 --- dim 3 --- data
Account --- Region -- ID --- Product --- data
sales --- West --- D1 --- Coffee --- 11001
sales --- West --- D2 --- Tea10 --- 12011
sales --- West --- S1 --- Tea10 --- 14115
sales --- West --- C3 --- Tea10 --- 21053
sales --- East ---- S2 --- Coffee --- 15563
sales --- East ---- D1 --- Tea10 --- 15894
sales --- East ---- D3 --- Coffee --- 19689
sales --- East ---- C1 --- Coffee --- 18897
sales --- East ---- C3 --- Tea10 --- 11699
cogs --- West --- D1 --- Coffee --- 1,322
cogs --- West --- D2 --- Tea10 --- 1,325
cogs --- West --- S1 --- Tea10 --- 1,699
cogs --- West --- C3 --- Tea10 --- 1,588
cogs --- East ---- S2 --- Coffee --- 1,458
cogs --- East ---- D1 --- Tea10 --- 1,664
cogs --- East ---- D3 --- Coffee --- 1,989
cogs --- East ---- C1 --- Coffee --- 1,988
cogs --- East ---- C3 --- Tea10 --- 1,328
discounts --- West --- D1 --- Coffee --- 10789
discounts --- West --- D2 --- Tea10 --- 10548
discounts --- West --- S1 --- Tea10 --- 10145
discounts --- West --- C3 --- Tea10 --- 10998
discounts --- East ---- S2 --- Coffee --- 10991
discounts --- East ---- D1 --- Tea10 --- 11615
discounts --- East ---- D3 --- Coffee --- 15615
discounts --- East ---- C1 --- Coffee --- 11898
discounts --- East ---- C3 --- Tea10 --- 12156
amount --- West --- D1 --- Coffee --- 548
amount --- West --- D2 --- Tea10 --- 589
amount --- West --- S1 --- Tea10 --- 852
amount --- West --- C3 --- Tea10 --- 981
amount --- East ---- S2 --- Coffee --- 876
amount --- East ---- D1 --- Tea10 --- 156
amount --- East ---- D3 --- Coffee --- 986
amount --- East ---- C1 --- Coffee --- 256
amount --- East ---- C3 --- Tea10 --- 9896
And the third way is to adjust the essbase.cfg parameters DLTHREADSPREPARE and DLTHREADSWRITE (and DLSINGLETHREADPERSTAGE)
I just want to be sure that I understand your suggestions.
Many thanks for awesome help,
Zeljko -
Moving a parent in a Dimension using a rules file
I would like too move a parent in one of my dimensions to the bottom of that Dimension using a rule file
Please adviseI have a confusion over here. For instance:
If I have Margin (parent) Sales (child) and COGS (child) defined in the data source in that order, than how will I change it to sales, cogs and than margin in the data source.
Parent child build method has the following statndard format, if i am not wrong:
PARENT (say accounts) DIMENSION NAME (code say A10001) ALIAS (Margin) AGGREGATION (+) and DATA STORAGE (The code for store)
Thanks in advance -
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. -
Hyperion DLL use in Rule file?
This is probably a stretch to even ask this, but has anyone attempted to reference the DLL/API commands through the rules file? Since it's VB code, it seems like it might be possible to some how reference the dll files stored on the server to allow a subroutine to perform tasks such as open a journal period.
Does anyone know if this is possible?Theoretically you can do anything within the bounds of VBScript. Keep in mind that the DCOM user is the one performing the operations, so whatever you do must be accessible/executable by the DCOM user. We have had discussions with development to restrict the boundaries of VBScript from rules since this can pose a security hole. So, even if you could run some code from rules in 9.3, it's possible that it won't run in 11.x. When we developed Calc Manager, we researched hundreds of applications and found the majorit of non-calculation activities launched from rules encompassed "Write To File" and "Timers and Counters". For these reasons, we added logging and timers directly into Calc Manager.
Is there something else you'd like to specifically try with rules, or are you just curious?
--Chris -
Essbase Build Dimension using load rules - Jagged Recursive hierarchy
Hi,
I am building a dimension from data that has the following parent/child relationship
PARENT CHILD
A B
C D
C E
C F
A C
Load dimension results in the following hierarchy:-
A
|__B
|__C
|_F
C
|_D
|_E
I would like the hierachy to be:-
A
|__B
|__C
|_F
|_D
|_E
Is there a way to achieve this? Is is to do with the order of rows in the data file?
Thanks
DineshHi,
I agree with the advice already posted about allowing moves in your dim build settings on the dimension in question. I just want to help clarify the other comment about how your file is sorted. As long as you are building a main rollup only (i.e., no shared member, alternate hierarchies in the same input file), the Essbase parent/child build method doesn't require any particular record order (as long as the pairings are correct in and of themselves). Essbase p/c method is powerful for ragged hierarchy creation and also able to "figure out" the intended hierarchy.
Now if you are including shared member relationships in the file, just be sure to have those records AFTER all records for the main rollup (logically as if you were simply using a second input file for the same rule). They don't have to be sorted within the rollup either.
BTW, the other strength of the p/c method is the ability to handle upper level shares (i.e., when your shared members are referencing members that are above level 0 in their stored (main hierarchy) positions.
Darrell -
Building shared members using rules file
How to build Shared members in the outline using load rule file.
I tried but it is not working correctly.Hi,
If you are loading the build file in parent child format...you don't need to mention the member as shared or stored.
Essbase automatically makes the second one shared.
If you are using generations or levels format to build the dimension then I suggest you to refer the docs to understand it clearly.
http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/esb_dbag.pdf
Thanks,
Jeeth -
Dimension Build using Rule File
I am using Oracle Hyperion Ver 9.3.1. While formatting the dimensions built using the rule file i came across the options "JOIN" and "Create Using Join". Can anyone help me in knowing the difference between these two options?
Edited by: 873675 on Jul 20, 2011 12:25 AMThe documentation explains the difference with examples, now I was going to post the link but I might as well post the info from the link.
Joining Fields
You can join multiple fields into one field. The new field is given the name of the first field in the join. For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before loading them into the Sample.Basic database.
Creating a Field by Joining Fields
You can join fields by placing the joined fields into a new field. This procedure leaves the original fields intact. Creating a field is useful if you need to concatenate fields of the data source to create a member.
For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before you load them into the Sample.Basic database. If, however, you want to preserve the two existing fields in the data source, you can create a field (100-10) using a join. The data source now includes all three fields (100, -10, and 100-10).
For other rule options read - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/ddlfield.html
Cheers
John
http://john-goodwin.blogspot.com/ -
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.
KiranTry 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/ -
Query regarding Metadata load in Essbase using rule file
Hi
In our application,we are loading metadata using Essbase rule file and here we are facing one problem.Suppose we have to load a level 0 member called "xxxx" under two different parent,assume the parent members are Parent_AAAA and Parent_BBBB.But our requirement is the consolidation operator for the first occurrence ( i.e under Parent_AAAA) is "+" and for the shared member under Parent_BBBB is "-".But,when we are loading using rule file the consolidation operator for the shared member always being loaded as "+".Is there any trick to change the consolidation operator for shared member other than changing it manually in outline?
Pls help....Thanks in advance.I don't think there is a way to change the default setting.
However, what you can do is to have a different load rule and different text file with only the metadata that you want to have an exception for shared members. That way, you can achieve it as you do not have to change the existing rule file.
Regards
ORACLE | Essbase -
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,
Anderson854285 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 -
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
-
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?
thxYou 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 -
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 -
How to change SQL data source in rule file
<p>Hi there,</p><p> </p><p>I use many rule files to load dimension and data with EssbaseSQL interface. (100-200 rule files!).</p><p>When need to cahnge information for data sources, do Ihave to change it always with EAS interactively ?</p><p>Is there any way to cahnge the information of the data sourcesin batch mode or with command?</p>
iitobs:<BR><BR>There are API calls (in at least C and VB that I found) that can use a rule file, and even copy or create one, but none that will modify a rule in any way. Even the "create rule" API call simply reserves the name so that someone else can't create one with that same name until you manage to copy it over from somewhere else - it doesn't create a new rule file, nor does it allow you to set anything in the rule. You have to use EAS to manage rule files internally.
Maybe you are looking for
-
How do i figure out which email is associated with an old apple id
I have songs from an old ipod that I no longer know the apple ID password to. I now have an iphone and a new laptop that I want to make sure I can listen to all my music on. The birthdate doesn't match with my old apple ID and I havve no idea what
-
Missing version field in response from server when accessing resource: (htt
I'm getting the above error when I specific a version # in the <jar> field under <resources>. If I leave the version out, the application works. If I put in it fails. In both cases I am supplying a version.xml file. From the logs (at the end) I only
-
When I download Adobe Reader, it asks for a password. It doesn't accept my Adobe password. What password is it searching for?
-
Entry screen for Time constraint class
Hi All, What should be the "Entry screen and Time constraint class" in Determine Entry screen number for Time constraint class. Please do help me. Regards Jagadeesh Reddy
-
Changed value for Dom0 but xl does not reflect changed value
Hi. I have updated Dom0 default value to 4096M in /boot/grub/grub.conf. However it only display a value of 2994M when I do a xl list after rebooting the host. I have installed OVMS 3.1.1 on a Dell M620. Any help is welcome. Thanks.