Returns the number of cells which are level0 combinations of dimensions in a specified slice string. This is useful if the target of replicated partition is an ASO cube.
Syntax
ESS_FUNC_M EssPartitionGetAreaLev0CellCount (hCtx, pszSlice, pdCount);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
pszSlice | ESS_STR_T | Input slice definition to be checked. |
pdCount | ESS_PDOUBLE_T | Returns number of cells here. |
Return Value
Returns zero if successful; error code if unsuccessful.
Example
ESS_FUNC_M ESS_PartitionGetAreaLev0CellCount(ESS_HCTX_T hCtx) { ESS_FUNC_M sts = ESS_STS_NOERR; ESS_DOUBLE_T pdCount; ESS_STR_T pszSlice; pszSlice = "@IDESC(East)"; sts = EssPartitionGetAreaLev0CellCount(hCtx, pszSlice, &pdCount); if (!sts) { printf("EssPartitionGetAreaLev0CellCount sts: %ld\n",sts); printf("\tArea cell count = %g \n",pdCount); } return(sts); }
See Also