One for the old timers.... v 9.0
Posted: Tue May 31, 2016 9:45 am
Hi,
I'm having the pleasure of developing on v 9.0 (SP3 U9) and I'm wondering if anyone can remember any defects in this area as I am getting an instance crash which I have been unable to code around (yet!). With a multi hour restart and an upgrade not possible it is proving rather frustrating....
Below is the prolog, the general sequence of which I have used many times in this environment (i.e. declare global vars and build a view).
If I process quit after the view build then the TI executes without issue.
In the current state the TI crashes the instance on the asciioutput line (I get an empty t.cma$ in the DD).
If I have the subset insert in play instead the instance still crashes.
If I change the cube the view is referencing the instance still crashes.
TI crashes with both none data source and a view.
The only obvious difference is that this view has consolidations un suppressed, does this ring any bells? If the view I was creating was itself causing an issue I would not expect it to crash until I actually do something with it....
Stumped....
I'm having the pleasure of developing on v 9.0 (SP3 U9) and I'm wondering if anyone can remember any defects in this area as I am getting an instance crash which I have been unable to code around (yet!). With a multi hour restart and an upgrade not possible it is proving rather frustrating....

Below is the prolog, the general sequence of which I have used many times in this environment (i.e. declare global vars and build a view).
If I process quit after the view build then the TI executes without issue.
In the current state the TI crashes the instance on the asciioutput line (I get an empty t.cma$ in the DD).
If I have the subset insert in play instead the instance still crashes.
If I change the cube the view is referencing the instance still crashes.
TI crashes with both none data source and a view.
The only obvious difference is that this view has consolidations un suppressed, does this ring any bells? If the view I was creating was itself causing an issue I would not expect it to crash until I actually do something with it....
Stumped....
Code: Select all
StringGlobalVariable('sCubeCPPair');
NumericGlobalVariable('nNextLog');
StringGlobalVariable('sCubeAssumption');
StringGlobalVariable('sCubeProp');
ExecuteProcess('Jnl.ChangeRequest.VarDeclarations');
#Local Variables
sProcessMe = 'Jnl.Update.CPPairToCPGroup.FileSize';
sDimProduct='Product';
sDimChannel='Channel';
sDateTimeLocal=TIMST (Now() , '\Y\m\d\h\i\s');
sRand=Subst(NumberToString(Rand),2,10);
sObjectName=sDateTimeLocal | sProcessMe | sRand;
#Build view for the source
#Will be slow highly summarised
sCubeName=sCubeAssumption;
ExecuteProcess ('Generic.View.Create' ,
'pCubeName', sCubeName ,
'pViewName', sObjectName ,
'pSkipRules' ,1 ,
'pSkipConso' , 0 ,
'pSkipZero' , 1,
'pD1' , sObjectName,
'pD2', 'A',
'pD3', 'A',
'pD4', sObjectName,
'pD5', sObjectName,
'pD6', sObjectName,
'pD7', sObjectName,
'pD8', sObjectName,
'pD9', sObjectName
);
sDimName=TabDim(sCubeName , 1);
sElName='test';
#SubsetElementInsert(sDimName, sObjectName, sElName, 1);
asciioutput('t.cma' , sDimName , sElName);
<snip>