Monday, August 12, 2013

MaxL Scripts Overview

        MaxL is the multi-dimensional database definition language (DDL) for Essbase Server. Using MaxL, you can easily automate administrative and query operations on Essbase Server.
        A MaxL script contains a login statement and a sequence of MaxL statements, each terminated by a semicolon. If you use MaxL Script Editor to execute a MaxL script, the login statement is optional; you can select the Essbase Server that you want to connect to from the editor. Most MaxL statements begin with a verb and consist of grammatical sequences of keywords and variables. MaxL Script Editor color-codes the elements of the MaxL syntax and provides an auto-complete feature that helps you build statements as you type. We don't need to save MaxL scripts in order to execute MaxL statements. We can interactively type, execute and clear the MaxL statements within the editor to execute multiple scripts.

 Most operating systems support three channels for input/output:

  • STDIN (standard input channel)
  • STDOUT (standard output channel)
  • STDERR (standard error channel)


                  Most operating systems also provide command-line options for re-directing data generated by applications, depending on which of the above channels the data is piped through.
                  Errors in MaxL are flagged as STDERR, allowing command-line redirection of errors using operating-system redirection handles. Non errors are flagged as STDOUT; thus normal output may be logged separately from error output. Beginning with Release 7.0, MaxL Shell errors are by default directed to the errorstream, and output is directed to the output stream.

No comments:

Post a Comment