Book Image

Oracle Essbase 11 Development Cookbook

By : Jose R Ruiz
Book Image

Oracle Essbase 11 Development Cookbook

By: Jose R Ruiz

Overview of this book

Oracle Essbase is a Multi-Dimensional Online Analytical Processing (OLAP) server, providing a rich environment for effectively developing custom analytic and enterprise performance management applications. Oracle Essbase enables business users to quickly model complex business scenarios. This practical cookbook shows you the advanced development techniques when building Essbase Applications and how to take these applications further. Packed with over 90 task-based and immediately reusable recipes, this book starts by showing you how to use a relational data model to build and load an Essbase cube and how to create a data source, prepare the mini schema, and work with the data elements in Essbase Studio. The book then dives into topics such as building the BSO cube, building the ASO cube, using EAS for development, creating Calculation Scripts and using MaxL to automate processes.
Table of Contents (17 chapters)
Oracle Essbase 11 Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Executing load rules using MaxL


In this recipe, we will load data into our database using a load rule and MaxL script. We will also create a generic load rule batch with parameters. You should complete recipe Setting up folder structure and other files needed for MaxL automation before you continue as we are going to need the folder structure and script created in that recipe. In addition, the recipe Using the outline editor to add dimensions in Chapter 5 completes the Sample Basic outline started in this chapter. We will need the dimensions Scenario and Year to complete this recipe.

Getting ready

To get started, click on the Start menu, click on Run, enter notepad, and press Enter.

How to do it...

  1. Select the Start menu, click on Run, enter notepad, and press Enter.

  2. Enter the following code into Notepad:

    SET JOB_NAME=%1
    SET LOAD=%2
    SET RULE=%3
    
    cd /d %~dp0
    
    echo Retrieve Host name, User Name, Password, Application, and Database
    CALL ..\Admin\ini.bat
    if %errorlevel% NEQ 0 GOTO ErrorHandler2
    CALL...