This tutorial shows you how to convert an Esscmd Script to MaxL.
Approximately 15 minutes
This tutorial covers the following topics:
|Viewing the input script|
|Converting the script to MaxL|
|Viewing the output script|
|Viewing the conversion log|
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.
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.
You convert one Esscmd script in this tutorial.
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.|
You convert Esscmd scripts to MaxL through an Essbase utility called cmd2mxl. The cmd2mxl command structure shows a single input and two output files.
Examine Esscmd script c:\stats.txt. This is the input script you will be converting 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.)
Exit the cmd window and examine c:\stats.mxl in a text editor, such as Notepad.
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.
In this tutorial, you learned how to convert an Esscmd script to MaxL.
To learn more about Esscmd scripts and MaxL you can refer to:
|Essbase Online Technical Reference.|