Top Banner
earnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification Using MaxL for Automating Production
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Using MaxL for Automating Production

Page 2: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Agenda

MaxL primer

Managing Hyperion Essbase server

Managing applications and databasesManaging security in Hyperion EssbaseMonitoring an Essbase server

Q&A session

Page 3: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Introduction

MaxL is a flexible way to automate Essbase administration and maintenance tasks. MaxL is the multi-dimensional database access language for Essbase. MaxL is a practical, expressive interface for administering and querying the Essbase system. With the MaxL language, you use statements to make requests

MaxL DDL is the database definition language for Essbase

Page 4: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

MaxL Primer

EssmshEssbase

Perl ModuleMaxL CLI

(C/VB/Java)

Hyperion Essbase OLAP Server

MaxL Engine

Alter system load application sample;Alter system load application sample;

Alter application sample load database basic;Alter application sample load database basic;

Alter application sample disable connects;Alter application sample disable connects;

Page 5: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

MaxL Commonly Used Commands

1 Export Data

2 Import Data

3 Create calculation

4 Execute calculation

5 Monitor Essbase Server

6 Create/Alter/Display application

7 Create Trigger

8 Create/Display/Alter User

9 Create Group

10 Create Database

Alter system load application sample;Alter system load application sample;

Alter application sample load database basic;Alter application sample load database basic;

Alter database sample.Basic disable connects;Alter database sample.Basic disable connects;

Page 6: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Managing Applications

Creating applications

Configuring application parameters

Page 7: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Managing DatabasesCreating databases

• Configuring database parameters

Page 8: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Managing SecurityCreating groups

Creating users

Page 9: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Creating and Managing Filters

Creating filters

Create filter sample.Basic.EastMgr

write on ‘actual, @children(east)’,

read on ‘budget, @children(east)’;

Page 10: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Granting Permissions

Granting specific privileges to users

Grant filter sample.Basic.EastMgr to Fiona;

Page 11: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Monitoring Essbase Server

Display active server sessions

Display session on database sample.Basic;

alter system kill request by user 'Swetha' on application sample;

alter system logout session by user 'Swetha' on application sample;

Page 12: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Import export data and LRO

Monitoring Essbase Server

Import database sample.Basic from datafile ‘/data/calcdat.Txt’

using rules file ‘/data/rulesfile.rul’

on error write to ‘/logs/dimbuild.Log’

Page 13: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Export Data/Import Data

export database sample.basic data to data_file ‘C:\\fileout.csv’.

export database sample.basic data In column to data_file ‘C:\\fileout.csv’.

import database sample.basic data from data_file “C:\\fileout.csv” on error abort;

export database sample.basic using report_file "'$ARBORPATH/App/Sample/Basic/asym.rep'" to data_file 'c:\\month2.rpt';

Page 14: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Create Calculation

create or replace calculation

sample.basic.Accts

'SET UPDATECALC ON; CALC DIM(Accounts);' ;

execute calculation Sample.Basic.calcname;

Page 15: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Create Trigger

Types of Triggers:

on-update

after-update

create or replace on update trigger Sample.Basic.EastColaswhere (Jan, Sales, Actual, [100], East)when Jan > 20 then spool EastColas_Fail end;

create or replace after update trigger Sample.Basic.EastColaswhere (Jan, Sales, Actual, [100], East)when Jan > 20 then spool EastColas_Fail end;

Page 16: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

To be Discussed Creating and Managing Partitions

Page 17: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

To be Discussed Creating and Managing Partitions

Create or replace replicated partition sampeast.East area '@IDESC(east)' to samppart.Company at localhost as partitionuser identified by 'password' area '@idesc(east)';

Refresh replicated partition samppart.Company from sampeast.East at localhost updated data;

Page 18: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Automate Loading Process

Page 19: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

For Scheduling the loading process. Following steps need to be followed.

1. Open notepad and write the following code as shown below, and save it as .scr extension file. (Ex: Sample5.scr)

Page 20: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

2. Open notepad and write a batch file as shown below and save it as .bat extension file. (Ex: Sample5.bat)

Page 21: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

3. Go to control panel and click on scheduled tasks and Add scheduled task as shown below Click on next following window appears

Page 22: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

4. When u click next the following window appears then click browse

Page 23: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

5. select the .bat (Ex: Sample5.bat) as shown below and select when the task need to be performed

Page 24: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

6. Select the time an the no of days in the following window

Page 25: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

7. Enter the Username and password and click next the following window appears

Page 26: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

8. After entering the system user name and password click next following window appears then click finish.

Windows will perform the task for the scheduled day and time.Windows will perform the task for the scheduled day and time.

Page 27: MaxL Implementation

http://learnobiee.blogspot.com [email protected] for all Hyperion video tutorial/Training/Certification/Material

Q & A