CALC-NAME

The CALC-NAME terminal in the MaxL language for Essbase represents the name of a stored calculation.

Syntax

  • Syntax for database-level calculation:

    name1.name2.name3
  • Syntax for application-level calculation:

    name1.name3
  • name1—Application name.

  • name2—Database name.

  • name3—Calculation script name.

Type

name (see MaxL Syntax Notes)

For database-level calculations, three tokens are required: two to indicate application and database context, and one as the calculation name.

Example

Sample.basic.'alloc'

For application-level calculations, two tokens are required: one to indicate application context, and one as the calculation name. When executing application-level calculations, you must specify which database to calculate using the syntax 'on database STRING.'

Example

  • Sample.'alloc' is the application-level CALC-NAME.

  • execute calculation Sample.'alloc' on database Basic; is a way to execute the application-level calculation on a database.

If any part of the name contains special characters (as listed in MaxL Syntax Notes), it must be enclosed in single or double quotation marks.