vCube = '}ElementSecurity_' | Dim | '_2';
Basically, a suffix _2 to the normal security cube for elements on the dimension "Dim".
TI allows you to create such a cube, but writing leads to errors. Even non-sensical errors, such as: "Cell type is consolidated"
Code: Select all
vCube = '}ElementSecurity_TEST';
CubeCreate( vCube, 'test_dim', '}Clients' );
CellPutS( 'HELLO WORLD', vCube, 'A', 'B' );
Even if the dimension "TEST" does not exist, this leads to an error.
1 character of a difference and it gives no error and does what it is supposed to do:
Code: Select all
vCube = '}ElementSecurityTEST';
So the takeaways:
- the error message makes no sense at all
- we should never create cubes starting with "}ElementSecurity_", choose a different name. Probably IBM treats cube names with this prefix in a different way / have their own plans with them.