THREADVAR

The THREADVAR calculation command for Essbase declares one or more temporary, thread-level variables within a FIXPARALLEL...ENDFIXPARALLEL command block.

Syntax

THREADVAR varName [, varName ] ;

Parameters

varName

Name of the temporary variable(s).

Notes

  • THREADVAR variables must be declared within the FIXPARALLEL...ENDFIXPARALLEL block, and can only be used within that context.

  • Essbase creates an instance of a THREADVAR variable for each child thread.

  • A THREADVAR variable cannot be initialized; Essbase initializes it to #MISSING.

  • A THREADVAR variable cannot have the same name as a VAR variable.

Example

See the example for POSTFIXPARALLEL.