Hi,
I have come across a TI which does the following in 'Advanced' tab:
Parameter tab - 3 parameters defined
Prolog tab - 4 variables defined
3 different functions used
and there is a function PROCESSQUIT at the end
Metadata tab - 3 variables + 2 functions
Data tab - 5 functions
Epilog - None
Now, my question is:
If a ProcessQuit function is used in Prolog, what is the need to declare and write functions in Metadata/Data tabs.
How does that work?
Won't the process (the entire TI process) quit completely when it encounters the ProcessQuit function?
Please note that the ProcessQuit function is not enclosed in any if/while loop. So, there is no condition that is applied.
I am pretty sure that the ProcessQuit function will get encountered.
Can someone help me on this?
Regards,
RH
quitting process in prolog ?
- qml
- MVP
- Posts: 1096
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: quitting process in prolog ?
ProcessQuit will terminate that process. Metadata and Data will not be executed.
Shouldn't you ask the author of that TI why they produced such code? Maybe the need for Metadata and Data processing ceased at some point of this TI's lifecycle?
Shouldn't you ask the author of that TI why they produced such code? Maybe the need for Metadata and Data processing ceased at some point of this TI's lifecycle?
Kamil Arendt
-
- Community Contributor
- Posts: 147
- Joined: Mon Nov 29, 2010 6:30 pm
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: Office 2010
Re: quitting process in prolog ?
It may also have been put in there to assist in testing or debugging the Prolog, and possibly forgotten.