MOO.COMP.SANE
MOO.COMP.SANE
Checks the dimensionality of an existing composite against a given set of dimensions.
Syntax
call moo.comp.sane('[list of dimesnions]','[object name]')
Return Value
Yes or no
Example
where,
dsc cube_1
DEFINE CUBE_1 VARIABLE DECIMAL <CMP_CUBE_1 <DIM_1 DIM_2 DIM_3> DIM_T>
shw moo.comp.sane('DIM_1 DIM_2 DIM_3' 'CMP_CUBE_1')
yes
shw moo.comp.sane('DIM_1 DIM_2 DIM_X' 'CMP_CUBE_1')
no