You are on page 1of 3

26/03/2012

Automate Essbase daily maintainence with MAXL script working on applications and technology

working on applications and technolog


O acle Web De ign

Web Ho in

S ndica e
more

Home

A oma e E
essbase

ba e dail main ainence i h MAXL c ip

Submitted by iniunet on Fri, 01/22/2010 - 11:10

Mon hl a chi e
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

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 calculat on the database, But It would be nice and simple if we could use some batch script to do maintenance job.

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

Wha i 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. do could be done using maxl scripts.

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

MAXL script is only simple text that we could edit or write using the simple notepad . alth admin console do provide an more easy editor for editing MAXL scripts.

Simple MAXL e ample

adding ne membe o da e dimen ion


-------------------------------------------------/* to execute: essmsh scriptname username password */ login $1 $2; /* login section */ spool on to 'd:\temp\add_day.txt'; /* log the result */
iniu.net/content/automate-essbase-daily-maintainence-maxl-script 1/3

26/03/2012

Automate Essbase daily maintainence with MAXL script working on applications and technology

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; -----------------------------------------------

E ec e calc la ion c ip
-----------------------------------------------/* 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

G ea opic. MXAL

and fo

Submitted by Anonymous on Tue, 07/27/2010 - 18:31. can also be Scheduled by using a batch file which can start essbase MAXL(using for sharing. With Regards data recovery software
iniu.net/content/automate-essbase-daily-maintainence-maxl-script 2/3

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

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

26/03/2012

Automate Essbase daily maintainence with MAXL script working on applications and technology

http://www.datadoctor.biz

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

3/3

You might also like