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 (not required for application-level calcs).

  • name3—Calculation script name.

Type

name (see MaxL Syntax Notes)

For calculations associated with databases, three tokens are required, to indicate application and database context and the calculation name.

Example

Sample.basic.'alloc.csc'

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

Example

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

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

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