MOO.CREATE.CUBE


Create a new cube and its associated metadata and re-register it.


Syntax

               

               call moo.create.cube([CubeObjectNameToCreate],[Dimensions],[CompositeDimensions],

                                 [CompositeObjectName],[DescriptionOfCube],

                                 [DataTypeOfCube],

                                 [PostUpdateProcess],[PreUpdateProcess],  

                                 [IsInternalObject])


Definitions

               


Argument

Description

CubeObjectNameToCreate

Object name of new cube

Dimensions

List of dimension names separated by a space

CompositeDimensions

List of dimensions of the composite separated by a space

CompositeObjectName

Object name of the composite

DescriptionOfCube

Description of the cube

DataTypeoOfCube

Data type of the cube

PostUpdateProcess

Name of the process to run after the cube has been updated

PreUpdateProcess

Name of the process to run prior to the cube being updated

IsInternalObject

Is this an internal object?



Return Value



               SUCCESS or error values


Example



            call moo.create.dim('NEW_CUBE','DIM_1 DIM_2 DIM_3 DIM_T',

                                'DIM_1 DIM_2 DIM_3',

                                'CMP_NEW_CUBE',

                                         'New Decimal Data Cube',

                                'DECIMAL',

                                'N',

                                'N',

                                'FALSE')