CubeSetLogChanges

In TI, you can turn on (or turn off) cube logging using the function CubeSetLogChanges. Be very careful to understand when and why to turn on (or off) cube logging. If data changes are to be made to a cube with your TI process and you need to ensure that you can recover those changes in the event of a server crash, you need to assure that logging is on. If it is not important to recover changes made by the TI process, set cube logging off to improve performance. For example, copying a version of a forecast from a source cube to a reporting cube may be an example where cube logging is not important:

CubeName = 'SalesReporting';
SetLoggingOnFlag = 1;
SetLoggingOffFlag = 0;
CubeSetLogChanges(CubeName, SetLogginOnFlag);

Or

CubeName ...

Get IBM Cognos TM1 Developer's Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.