DisableMTQViewConstruct

DisableMTQViewConstruct disables multi-threaded query processing when calculating a view to be used as a TurboIntegrator datasource for a single TurboIntegrator process. When MTQQuery=T in the tms1.cfg file, DisableMTQViewConstruct can be called to override this value on a TurboIntegrator process.

This function must appear in the Prolog, it has no effect in any other procedure within a process.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

Note: If the value of the MTQ parameter is 1 (or OFF), this functionality is turned off entirely and cannot be overridden.

The value of MTQQuery can be overridden on a single TurboIntegrator process by calling the DisableMTQViewConstruct function.

If MTQQuery=T (the default), DisableMTQViewConstruct can be called to disable the functionality for individual TurboIntegrator processes.

After enabling EnableMTQViewConstruct in a process, it can only be disabled on the last line in the Epilog section. If you attempt to use DisableMTQViewConstruct anywhere else in the process, the process will not compile.

If the mode is enabled in one TurboIntegrator process, it remains enabled until explicitly disabled or until the chore completes. This means you can enable the mode in a process and then run a series of TurboIntegrator processes before disabling it.

Example

Use the following TurboIntegrator commands to disable multi-threaded query processing when calculating a view to be used as a TurboIntegrator datasource for a single TurboIntegrator process.

DisableMTQViewConstruct()

See also EnableMTQViewConstruct.