Converting an Esscmd Script to MaxL


Purpose


This tutorial shows you how to convert an Esscmd Script to MaxL.

Time to Complete


Approximately 15 minutes

Topics


This tutorial covers the following topics:

 Overview
 Scenario
 Prerequisites
 Command structure
 Viewing the input script
 Converting the script to MaxL
 Viewing the output script
 Viewing the conversion log
 Summary
 Related information

Viewing Screenshots


Click icon to show all screenshots Click icon to show all screenshots

Note: Alternatively, you can click an individual icon (or image) associated with each step to view (or hide) the screenshot associated with that step.

Overview


This tutorial shows you how to convert an Esscmd script to a MaxL script using the cmd2mxl utility. This utility converts the Esscmd script line by line to MaxL and places the Maxl script in a separate file for your use.

Back to Topic List

Scenario


You convert one Esscmd script in this tutorial.

Back to Topic List

Prerequisites


Before starting this tutorial, you should:

1.Have utility cmd2mxl available. It is installed automatically during your Essbase Server installation.
2.Have an Esscmd script available for conversion. This tutorial converts stats.txt.

Back to Topic List

Command Structure


You convert Esscmd scripts to MaxL through an Essbase utility called cmd2mxl. The cmd2mxl command structure shows a single input and two output files.

Back to Topic List

Viewing the input script


Examine Esscmd script c:\stats.txt. This is the input script you will be converting to MaxL.

Back to Topic List

Converting the script to MaxL


Open a cmd window by clicking Start > Run. Then type cmd in the Run window and click OK.


 

In the cmd window, type the command to convert the Esscmd script stats.txt to MaxL script stats.mxl and write the conversion log to stats2log.txt. Then press Enter. (No messages are displayed in the cmd window.)

Back to Topic List

Viewing the output script


Exit the cmd window and examine c:\stats.mxl in a text editor, such as Notepad.

Back to Topic List

Viewing the conversion log


Open c:\stats2log.txt in a text editor and check for errors. Here is a portion of the log file. All Esscmd commands were converted to MaxL successfully.

Back to Topic List

Summary


In this tutorial, you learned how to convert an Esscmd script to MaxL.

Back to Topic List

Related Information


To learn more about Esscmd scripts and MaxL you can refer to:

 Essbase Online Technical Reference.

Back to Topic List

Left Curve
Popular Downloads
Right Curve
Untitled Document
Left Curve
More Middleware Downloads
Right Curve