Page 1 of 1
TI script lags at PLOLOG
Posted: Mon Oct 08, 2012 1:59 pm
by ioscat
What may be a reason for TI process not complete? It doesn't stops, no errors, everything is like it is making something but not going to ever finish. I suppose VIEWZEROOUT is responsible, cos if i resave "zero" view - everything is ok.
Re: TI script lags at PLOLOG
Posted: Mon Oct 08, 2012 2:16 pm
by asutcliffe
ioscat wrote:What may be a reason for TI process not complete? It doesn't stops, no errors, everything is like it is making something but not going to ever finish.
Are you sure it will never finish or is it just taking a really long time? Have you looked monitored it using TM1Top? In any case, why don't you just post your code?
Re: TI script lags at PLOLOG
Posted: Mon Oct 08, 2012 2:26 pm
by Wim Gielis
Did you try to AsciiOuput some helpful texts at various parts in the Prolog?
(Then you know that at least these commands were reached yes or no).
Re: TI script lags at PLOLOG
Posted: Mon Oct 08, 2012 2:28 pm
by ioscat
Code: Select all
#****Begin: Generated Statements***
OldCubeLogChanges = CUBEGETLOGCHANGES('rep.result.FinancialResult');
CUBESETLOGCHANGES('rep.result.FinancialResult', 0);
VIEWZEROOUT('rep.result.FinancialResult','ZeroOut');
#****End: Generated Statements****
nothing special. can view be corrupted?
normally prolog finishes less than for a second. i gave process to ran for a couple of minutes and there were no progress
Re: TI script lags at PLOLOG
Posted: Mon Oct 08, 2012 2:32 pm
by Wim Gielis
Can you (manually) export that view to Text data?
(Right click the cube name for that option).
I never used dots in a cube name. Do you have any reason to do so?
Why no underscore for example? Or judicious use of uppercase and lowercase letters?