ProcessQuit TM1 Command: Use and Syntax

Ever wondered how you can stop a TI process?  Or if you haven’t thought of it, maybe you should have!

When creating a Turbo Integrator process in TM1 you will often get part way through creating the code and need to test it.  It’s not really an issue when you have a short TI process, but if you are doing multiple steps in the TI or are addressing a large database that takes a while to load, then you might need to stop if part way.

Well you can.  By inserting a ProcessQuit; command, the Turbo Integrator process will cease at that point.  We’ll often put a ProcessQuit: command at the end of the Prolog (on the Advanced tab) and then hash (#) it out when we are testing, then move it on through the Data tab as keep developing. Then if we need it, then it is right there.

Syntax of ProcessQuit

The syntax is simply ProcessQuit;

Usage

Often as well, especially when it is used in a production TI, we will want to record in the Message Log the reason for forcing the process to quit.  In this instance we’ll combine it with ItemReject which does just that. For an example of the code used for this, please see this post.

 

If you like this post, please spread the love…

About John

Managing Director of Infocube. We are a management accounting consultancy that specialises in Business Analytics.
This entry was posted in TI Functions and tagged ProcessQuit. Bookmark the permalink.

One Response to "ProcessQuit TM1 Command: Use and Syntax"

Log in to post a comment.