Page 1 of 1
Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 10:45 am
by jamesbennett
I recently created a Cell Security cube via TI using the CellSecurityCubeCreate function. However, now I would like to destroy and recreate the cube as I need to include another dimension that was missed out the first time around. I have tried running another TI with the CellSecurityCubeDestroy function in the prolog - I get the message stating 'Process completed successfully' but the original cell security cube is still there, unchanged.
I note from the documentation of this function that 'The GrantSecurityAccess property must be set for this TurboIntegrator process to succeed.' Could that be preventing me from destroying the cube - how do I confirm the GrantSecurityAccess property? Or is there some other reason why this function might not be working?
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:13 am
by Wim Gielis
Did you right-click the process and set the relevant checkbox for security access ?
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:20 am
by jamesbennett
I hadn't - I wasn't aware of such an option - however having just ticked that I've rerun the process and get the same issue, 'Process Completed Successfully' but no impact on the cube.
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:22 am
by Wim Gielis
jamesbennett wrote: ↑Mon Jan 20, 2020 11:20 am
I hadn't - I wasn't aware of such an option - however having just ticked that I've rerun the process and get the same issue, 'Process Completed Successfully' but no impact on the cube.
Show us the code please.
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:24 am
by jamesbennett
Wim Gielis wrote: ↑Mon Jan 20, 2020 11:22 am
Show us the code please.
Code: Select all
CellSecurityCubeDestroy('}CellSecurity_Allocations');
As mentioned it's in the Prolog tab of the TI, Data Source set to None.
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:48 am
by Wim Gielis
You haven't followed the documentation by IBM:
https://www.ibm.com/support/knowledgece ... stroy.html
They have an example:
CellSecurityCubeDestroy('DataCube');
Leave out the first part of the name.
Re: Unable to destroy Cell Security cube
Posted: Mon Jan 20, 2020 11:52 am
by jamesbennett
I see - obvious when you point it out. Thanks for your help, that works well now.