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

Using encryption in MaxL scripts


In this recipe, we will retrieve a public key and private key using MaxL commands. Then we will encrypt a MaxL script and modify the command line to successfully run the MaxL command.

Getting ready

To get started, click on Start, select Run, type cmd, and press Enter.

How to do it...

  1. Type in essmsh –gk into the command screen and press Enter. The following text will appear. Keep a note of the Public Key and Private Key as they appear on this screen.

  2. In EAS, click on File, click on Editors, click on MaxL Script Editor, type the following MaxL script, click on File, then on Save script as, browse to the C drive, type SubVarD in the File Name, and click on OK.

    /*Login to database */
    login Admin password on localhost;
    
    /*Create log*/
        spool on to 'C:\Display.txt'
        
    /*Display Substitution Variables Before*/
    Display variable on database Sample.Basic;
    
    logout;
    spool off;
    exit;
  3. Return to your command line and type in essmsh -E scriptname.mxl PUBLIC-KEY or based on...