• Skip to main content
  • Skip to footer
Revelwood Logo

Revelwood

Your SUPER-powered WP Engine Site

  • Who We Are
    • About Us
      • Our Company
      • Our Team
      • Partners
    • Careers
      • Join Our Team
  • What We Do
    • Solutions
      • Workday Adaptive Planning
      • IBM Planning Analytics
      • BlackLine
    • Services
      • Implementation Services
      • Customer Care
        • Help Desk
        • System Administration as a Service
      • Training
        • Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Workday Adaptive Planning Use Cases
    • IBM Planning Analytics Use Cases
    • BlackLine Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

IBM Planning Analytics Tips & Tricks

IBM Planning Analytics Tips & Tricks: Ensuring Cube Logging is Reset in TM1

 

Tips & Tricks

April 24, 2018

By Revelwood

This is a guest post from Revelwood’s Susan Musselman. 

Did you know you can easily reset cube logging in TM1? A previous tech tip was written to discuss when to enable and disable logging. As stated in that posting, it is best practice to turn cube logging off while processing TurboIntegrator processes. Typically, logging is turned off in the Prolog and turned back on in the Epilog. But if an error occurs when the process is run, it never reaches the Epilog and logging never gets turned back on.

Initially, logging is set by right-clicking on cubes and placing a check in the logging box for each cube that needs logging turned on.

Learn how to ensure cube logging is reset in TM1

When logging is turned off via TI process, the checkbox is turned off.

One way to ensure that settings aren’t permanently “lost” is to reset logging in a chore that runs on a regular schedule (nightly or more frequently, if desired). To do this, set up an attribute in the }Cubes dimension to define which cubes should have logging turned on and manually populate the attribute with “YES” for each cube that should be turned on for logging. In the following example, the attribute is called “LogChore” and two cubes are defined to have logging enabled.

Ensure cube logging is reset in TM1

Then create a process with “None” as the source that will loop through the cubes and set log changes to 1 when the attribute is populated. Here is the code to put in the Prolog tab.

     iCount = 0 ;

     iSize = DIMSIZ (  ‘}Cubes’ ) ;

     WHILE ( iCount < iSize ) ;

           iCount = iCount + 1 ;

           strElement = DIMNM (  ‘}Cubes’ ,  iCount ) ;

           IF ( SUBST ( ATTRS ( ‘}Cubes’ , strElement , ‘LogChore’ ) , 1 , 1 )  @= ‘Y’ ) ;

                 CUBESETLOGCHANGES ( strElement , 1 ) ;

           ENDIF ;

      END ;

The final step is to set the process up as a chore and schedule it to run nightly. Any cubes that may have accidentally had Logging turned off will be turned back on.

IBM Planning Analytics  is full of new features and functionality. Not sure where to start? Our team here at Revelwood can help. Contact us for more information at info@revelwood.com. And stay tuned for more Planning Analytics Tips & Tricks weekly in our Knowledge Center and in upcoming newsletters!

Read more blog posts detailing IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: New Parameters for Turbo Integrator

Working with the TM1 Rest API

IBM Planning Analytics Tips & Tricks: New Configuration Settings for Dates

Author

  • Revelwood
    Revelwood

    View all posts

    • Categories

      • Awards & Recognition
      • Financial Close & Consolidation
      • FP&A Done Right
      • IBM Planning Analytics Tips & Tricks
      • News & Events
      • Success Stories
      • Tech Bulletins
      • Workday Adaptive Planning Insights
      • Workday Adaptive Planning Tips & Tricks

    Popular Posts

    Authors

    Adam Riskin
    Adam Riskin
    Ailenette Cruz
    Ailenette Cruz
    Alex Goldman
    Alex Goldman
    Ben Alcock
    Ben Alcock
    Brian Combs
    Brian Combs
    Dave Miersch
    Dave Miersch
    Dillon Rossman
    Dillon Rossman
    Gary Leiffer
    Gary Leiffer
    John Pra Sisto
    John Pra Sisto
    Ken Wolf
    Ken Wolf
    Koury Reid
    Koury Reid
    Lee Lazarow
    Lee Lazarow
    Lisa Minneci
    Lisa Minneci
    Marc Assenza
    Marc Assenza
    Mary Luchs
    Mary Luchs
    Michelle Song
    Michelle Song
    Nina Inverso
    Nina Inverso
    Revelwood
    Revelwood
    Robert Nordhagen
    Robert Nordhagen
    Tara Byrnes
    Tara Byrnes
    Wesley DeMarco
    Wesley DeMarco

    Sign up for our newsletter

    Connect

Footer

Revelwood Overview

Revelwood helps finance organizations close, consolidate, plan, monitor and analyze business performance. As experts in solutions for the Office of Finance, we partner with best-in-breed software companies by applying best practices guidance and our pre-configured applications to help businesses achieve their full potential.

EXPERTISE

  • Workday Adaptive Planning
  • IBM Planning Analytics
  • BlackLine

ABOUT

  • Who We Are
  • What We Do
  • How We Help
  • How We Think
  • Privacy

CONNECT

Contact:

25B Vreeland Road, Suite 111 Florham Park, NJ 07932
201.984.3030
info@revelwood.com

Copyright © 2023 · Revelwood Inc. All rights reserved. Revelwood® and the Revelwood logo are registered marks of Revelwood Inc.