Beruflich Dokumente
Kultur Dokumente
Developing Essbase Applications Cameron Lackpour Best Price $58.96 or Buy New $62.96
Privacy Information
TWEET
Tweets
Osama Mustafa @OsamaOracle
Follow 27 Mar
Learn Basic Linux Command with Cheat Sheet pic.twitter.com/vmGtS38RNK Retweeted by Cameron Lackpour
Tweet to @CameronLackpour
MY BLOG LIST
Makes sense
Here's the administrator's view of the Entity dimension from the Planning reference application:
Cube Coder
Reverse-Engineering Block Density Statistics
2 days ago
DEV EPM
DEVEPM at ODTUG Expert Panel ODI
3 days ago
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
1/9
3/29/2014
The Planning administrator sees all this is appropriate, as he is responsible for all data. And here is a Planner's view of the world (literally):
Hyperion @ 42 Below
Playing with DOS (writing a DOS batch job to control thread management)
1 week ago
See the difference? For a user that can only see Latin America, all is as it should be.
Essbase Labs
Using Smart View to Combine OBIEE and Essbase Data
6 months ago
hyp3d on hyp3rion
The KScope 13 Aftermath
9 months ago
The rows highlighted in yellow are not readable/writeable, but are visible. While the planner can select these members, he cant retrieve their data values. This is inconsistent, and is colloquially known as Not Good.
Metavero
First Look 11.1.2.3
1 year ago
Posts Comments
POPULAR POSTS
Why I hate (and love) Calculation Manager, part 1 Hate takes too much energy And besides, its difficult to hate a software product, unless its name is HAL . :) Love? When it com... The fastest way to export targeted data from BSO Essbase with NONEMPTYBLOCK NB The best way to experience this blog is with one of the following musical soundtracks open and playing in a loop on another tab or wi... Yeah, yeah 11.1.2.1 is here, so what? Introduction Given the excitement around this release (geeks get enthused by some pretty odd things), youd think an Oracle-red
2/9
3/29/2014
Easy fix in EAS If only it were this easy -- just copy the READ row and make it a METAREAD. Since METAREAD is more restrictive (both data AND metadata) it takes precedence, so the READ line doesn't have to be deleted:
And it looks just right in SmartView (or the Essbase-centric reporting tool of choice).
BLOG ARCHIVE
2012 (50) 2011 (38) 2010 (22) 2009 (9) December (1) November (1)
3/9
3/29/2014
BTW, I happen to be mildly proficient in VBScript (call me Fred) and NT Cmd scripts. You could use whatever tools you like, e.g., Powershell, or the Bourne shell, or Rexx (call yourself T. Rex), etc.
September (1) August (1) July (1) Fixing Planning's Filters June (2) May (1)
Script components
Script name Refresh_Planning.cmd ModCubeRefresh.cmd Create_MetaRead_Filters.wsf Description Overall NT Cmd control script Refresh Planning utility VBScript to read output from Write_Filters_To_Disc.mshs and write METAREAD filters MaxL shell to run METAREAD filter adds Programmatically generated METAREAD filters
LABELS
11.1.2 (6) 11.1.2.1 (11) 11.1.2.2 (5) 11.1.2.3 (4) 64 bit (4) Ace (2) Ace
Director (2) Advisors (4) alphabet (1)
And now
for
ASO (14) Australia (1) automation (1) awesome (32) backup (1) batches (1)
benchmark (1) BI (2) BI Apps (1) board of
call_metaread_add_filters.mshs Metaread_Add_Filters.msh
BSO
(15)
Business
Intelligence (5) Business Rules (2) calc scripts (7) Calculation Manager (9) campaign (1) Classic
add-in (2) CLEARDATA (1) Cloud (4) code (2) combobox (1) Community Service
Day (1) conferences (1) Consulting (3) Crystal Ball (1) Data Detective (1) Data integration (1) data quality (1)
A note about ModCubeRefresh.cmd When I ran CubeRefresh from a command line (this was within the C:\Hyperion\products\Planning\bin directory) it worked just fine. However, when I called it from another batch file it stopped all execution. I tried every trick I could think of to make it work and finally just added an EXIT to the end of it and saved it as ModCubeRefresh.cmd. Refresh_Planning.cmd To get this all to work, I used the calling script to accept parameters as shown below: Parameter Value Planning encrypted password file Planning application Planning admin username Refresh or create Filter switches Essbase server First half of private key Second half of private key c:\tempdir\odtug_2009\password.txt
Developing Esssbase Applications (11) DIM (1) dimensions (8) dir (1) documentation
DATAEXPORT (3) (3) Dodeca
Ephemeral (2)
escape (1)
Essbase (66)
Essbase MaxL scripting quotes parameters variables SQL (1) Essbase Planning (3)
plansamp admin
Excel add-in (2) export (1) FDM (7) filters (3) Financial Reports focused
GLOC (1)
(8)
(2)
aggregation
(3)
free
hierarchy (3) Hybrid (1) Hyperion (4) Hyperion SIG (3) Infrastructure (9) inheritance (4) installation (6) Kaleidoscope (10) Kaleodoscope (1) Kindle (1) kitchen sink (1) KScope11 (9)
Long Beach (6) Lunch MaxL (13) (1) MDX (5) meetup (3)
(2)
nostalgia (1)
How do I run it? refresh_planning.cmd c:\tempdir\odtug_2009\password.txt plansamp admin /R /FS %computername% 316108469,694177571 ModCubeRefresh.cmd The normal CubeRefresh.cmd script has seven parameters: Parameter Value
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
ODTUG (44)
OpenWorld (4)
ODTUG SP
EPM (14)
Planining (1)
Planning (50)
queries (5) query
4/9
3/29/2014
-f /A
Path to encrypted password file Planning application name Username RMI port to bind to (Extra points if you tell me who said This is the sort of English up with which I will not put. And why. And if he really did. Hint -- His name isnt Gordon Broon.) Create or refresh outline Process database Filters, shared or not, or even validated Connect to the local bean (Is this like, "Splendid work, old bean."? Again, I digress.) RMI port to bind to the remote Planning bean. Use with /-L option Print debug statements
security
Seriously
groups (7)
selectors
(1)
/U /C
Practica (1) Seriously Practical (1) service startup (1) sessions (5) Shared Services (7) Smart View (8) SQL
(23)
tricks (6)
(2) (2) (3)
(3)
VMWare
(2)
Volunteers Windows
/RMIPORT
/DEBUG
The RMIPORT, Create/Refresh, Process database, Use security filters, Connect to the local bean, and Debug parameters are optional. In my world (this is my code, you can follow or get just as explicit as you like/need/want), I chose to explicitly define: the password file, application name, username, refresh or create, filter switch (what would be the point otherwise?), and I also passed along a log file I use for error checking. Write_Filters_To_Disc.mshs This is simple code that writes all Essbase filters to disc. I dont know why I did this, as the display filter command can be limited to only one database. It works in the demo world, but in a real environment its a distinctly lousy idea. Feel free to modify this with a MaxL parameter variable to pass only the Essbase database filters you want. Yes, this gets trickier with multiple Plan Types. Create_Metaread_Filters.wsf This is where the rubber meets the road it reads the output from Write_Filters_To_Disc.mshs, converts the READ filter to METAREAD, and generates the MaxL script Metaread_Add_Filters.msh. This file will be used to set the Planners filters to METAREAD. Call_metaread_add_filters.mshs Encrypted (username and password) MaxL shell to modify filters to use METAREAD. Metaread_Add_Filters.msh This is the code that adds the METAREAD. Its kind of silly to have both a READ and METAREAD in the same filter, although it works because of METAREADs more restrictive nature. I tried using MaxLs replace filter command instead of alter filter but I found that it just gave the Planner read access to the entire dimension in question. It must be (I think) something to do with Shared Services and alter filter works, so I went with that. I welcome a better approach hint Blogspot has a comment section and I read them. I will modify this post as required.
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
ABOUT ME
5/9
3/29/2014
What does it look like? Magic Essbase filters that come from Planning are now METAREAD filters.
Conculsion
I believe that the Earth still rotates on its axis. All is well. I do not scuttle sideways across the floor, and my trusty prismatic compass still works, so apparently TEOTWAWKI did not occur. NB You will have to perform all filter refreshes through this utility. Unfortunately, for ModCubeRefresh.cmd to work, this will require Planning server access, or at least remote access. There are a number of ways to do this Google is your friend.
The future
At the conclusion of the presentation, I heard that METAREAD functionality is now in the pipeline for Planning. However, if youre on Planning 9x (the Planning refresh utility is a little different), or up to 11.1.2, you may want to use this code base to give your Planning users the same metadata filtering in Essbase as they get in Planning. Another chapter in hacking Essbase under the belt.
Posted by Cameron Lackpour at 10:05 AM Labels: automation, Essbase, filters, MaxL, Planning
15 comments:
Anonymous said... Cameron, Very nice blogs! thank you! However, I tried to dl your source code but I can't extract your zip file. 21 July, 2009 13:53
Cameron Lackpour said... Anon, You're very welcome. Thank you for your kind comment. Re the download -- I was able to go the link and download the zip file to my desktop and extract it. Could it be that your workplace blocks zip files? I am a paying FileDropper customer so that file will remain (as long as I pay my $0.99/month). Regards,
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
6/9
3/29/2014
Caneron Lackpour 22 July, 2009 06:58
Elevation58 said... Hi Cameron, Very interesting approach, thanks for sharing this. Is the source code still available? There's nothing on FileDropper? Thanks Mark 16 August, 2009 16:33
Cameron Lackpour said... Mark, Thanks for pointing the bad link out. Try it now -- it should be fixed. Regards, Cameron Lackpour 23 August, 2009 08:03
Elevation58 said... Hi Cameron, Thanks for the update. Mark 23 August, 2009 12:15
Anonymous said... Hi, I too am not able to unzip the file Automating_Essbase_with_MaxL_code.zip which I downloaded from FileDropper. I even tried using WinRAR to unzip it, but it did not work. My windows XP 2002 is able to see the files in your zip file, but not able to extract them. 13 January, 2010 13:19
Anonymous said... Looks like the download works. I can then look at the files inside. but when you try to unzip it. The program fails for all files. 04 March, 2010 09:26
Alp Burak Beder said... Hi Cameron, Thanks a lot for the post. Is it possible to re-upload the file? I tried many ways but I couldn't extract the zip file. I think I am not the only one facing the same issue. Cheers, Alp 12 April, 2010 22:48
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
7/9
3/29/2014
Cameron Lackpour said...
Sorry for the tardiness -- I have to figure out how to get emails when comments get posted. I've been monitoring my more recent posts, not these older ones. Anyway, I rezipped the files, uploaded them, changed the HTML to point to the new file name (FileDropper assigns it, not me), saved the post, opened it, downloaded the files to my hard drive, unzipped the files, and edited one or two of those files. Whew, what I do for you. :) It should be good to go. Ping me on LinkedIn in future if something I'm providing goes tits up and I'll do my best. Thanks for reading. Cameron Lackpour 15 April, 2010 08:28
Anonymous said... Cameron, I still can't extract the zip files to edit them. Any chance you can take a look at this again? 18 December, 2010 15:21
Jeff said... Wow, really well done, the scripts are well documented with comments, easy to follow, very complete. Thanks for this! 24 May, 2011 16:05
Adella said... Hi Cameron, I am not sure if you will check this comment or not as you might not be keeping a track of your older posts but still I wanted to post my comment. Very very nice post! It is really very informative. Infact, I learned as well as enjoyed reading it. Not all can write like this I guess. I hope to read more and more of such posts from you. Please do continue sharing your immense knowledge. It would really help us a lot ! Thank you so much. ~ Adella 15 September, 2011 16:37
Joachim1111 said... Great blogs Cameron. Bought your DEA book too. :) Regarding: "At the conclusion of the presentation, I heard that METAREAD functionality is now in the pipeline for Planning.", do you have an update on the timing of this? If we can hack it, it shouldn't be so difficult to add, should it? 25 September, 2012 10:01
Cameron Lackpour said... Joachim, I asked this question at Kscope12's EPM symposium -- it is STILL not fixed.
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
8/9
3/29/2014
Anonymous said... Hi Cameron, Any chance of getting a link for the source files? If there's a download on here somewhere, I cannot for the life of me find it. Thanks! Bill 11 April, 2013 17:51 Post a Comment
Newer Post
Subscribe to: Post Comments (Atom)
Home
Older Post
http://camerons-blog-for-essbase-hackers.blogspot.in/2009/07/fixing-plannings-filters.html
9/9