Automate Essbase Daily Maintainence With MAXL Script _ Working on Applications and Technology

3

Click here to load reader

Transcript of Automate Essbase Daily Maintainence With MAXL Script _ Working on Applications and Technology

Page 1: Automate Essbase Daily Maintainence With MAXL Script _ Working on Applications and Technology

26/03/2012 Automate Essbase daily maintainence with MAXL script | working on applications and technology

1/3iniu.net/content/automate-essbase-daily-maintainence-maxl-script

Home

Automate Essbase daily maintainence with MAXL scriptSubmitted by iniunet on Fri, 01/22/2010 - 11:10

essbase

After building our essbase analytic model and importing the data, the next

big thing is to keep our essbase data refreshed with each coming day's new

data . And it might be necessary to add new dimension member to the

outline sometimes (e.g. we might have to add today's date to the date dimension before

loading today 's sales data)

Of course we could always use the admin console to add new member or execute calculation

on the database, But It would be nice and simple if we could use some batch script to do it

automatically, MAXL is such script language that we could use to automate our essbase daily

maintenance job.

What is MAXL?

MAXL is an script language that we could use to manipulate essbase, we could use it to

create or modify essbase applications or database or even outline

create or modify dimension (e.g. add new member to the dimension)

importing data into database

execute calculation scripts.

...many more , actually most of the functionality that we use the graphic admin console to

do could be done using maxl scripts.

MAXL script is only simple text that we could edit or write using the simple notepad . although

admin console do provide an more easy editor for editing MAXL scripts.

Simple MAXL examples

adding new member to date dimension

--------------------------------------------------

/* to execute:

essmsh scriptname username password

*/

login $1 $2; /* login section */

spool on to 'd:\temp\add_day.txt'; /* log the result */

Oracle Web Design Web Hosting

working on applications and technology

Syndicate

more

Monthly archive

June 2009 (4)

July 2009 (14)

August 2009 (36)

September 2009 (13)

December 2009 (1)

January 2010 (2)

June 2011 (1)

July 2011 (1)

August 2011 (1)

October 2011 (2)

� 2 next › last »

Page 2: Automate Essbase Daily Maintainence With MAXL Script _ Working on Applications and Technology

26/03/2012 Automate Essbase daily maintainence with MAXL script | working on applications and technology

2/3iniu.net/content/automate-essbase-daily-maintainence-maxl-script

alter system load application 'test';

alter application 'test' load database 'testdb';

/* import dimension member from sql database */

import database 'test'.'testdb' dimensions connect as 'sql_db_user_name' identified by

'sql_db_password' using server rules_file 'addday' on error write to 'd:\addday.txt';

spool off;

logout;

-----------------------------------------------

Execute calculation scripts

------------------------------------------------

/* to execute:

essmsh scriptname username password

*/

login $1 $2;

spool on to 'd:\temp\exec_cal.txt';

/*alter system load application 'test';

alter application 'test' load database 'testdb'; */

/* embed the calculation statement into maxl script */

execute calculation 'CALC ALL;' on 'test'.'testdb' ;

/* execute stored server calculation scripts */

execute calculation 'test'.'testdb'.'cal-rank';

spool off;

logout;

---------------------------------------------------

You could see by these two simple examples that MAXL is really powerful language that we

could use to automate our daily essbase maintenance !

Add new comment

Great topic. MXAL stands forSubmitted by Anonymous on Tue, 07/27/2010 - 18:31.

Great topic. MXAL stands for Mercury Xenon Arc Lamp.Data Loads can be automated and

can also be Scheduled by using a batch file which can start essbase MAXL(using

essmsh.exe) editor by specify the path and invoking file containing MAXL commands. Thanks

for sharing.

With Regards

data recovery software

Page 3: Automate Essbase Daily Maintainence With MAXL Script _ Working on Applications and Technology

26/03/2012 Automate Essbase daily maintainence with MAXL script | working on applications and technology

3/3iniu.net/content/automate-essbase-daily-maintainence-maxl-script

http://www.datadoctor.biz

0