invoke Command

Description

Invokes a method for a component. New as of build 164,

The value returned by the Analysis Server will depend on the component type from which the method is invoked. For a Java Bean component, the Analysis Server will display the return value from the method invoked. For a FileWrapper component, the Analysis Server will display the output from the last run statement in the RunCommands section.

Command Syntax

invoke <component>.<method>()

Example

>start msd m
object m started.
>get m.d
0.125
>set m.d = 5
value set for <m.d>
>get m.d
5
>invoke m.reinitialize()
>get m.d
0.125

See also Analysis Server | Analysis Server Commands | listMethods