THREADVAR

Declares one or more temporary, thread-level variables within a FIXPARALLEL...ENDFIXPARALLEL block.

Syntax

THREADVAR varName [, varName ] ;
Parameter Description

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.

See Also