EssPartitionReplaceDefFile

Description

EssPartitionReplaceDefFile() tells the server that a new shared-partition file has been sent, which replaces any existing file for this database.

Syntax

ESS_FUNC_M EssPartitionReplaceDefFile (hCtx);
ESS_HCTX_T hCtx

Parameters

hCtx Essbase API context handle.

Return Value

Returns zero if successful; error code if unsuccessful

Access

A call to this function requires database designer access privileges.

Example

ESS_FUNC_M  Ess_PartitionReplaceDefFile(ESS_HCTX_T hCtx)
{
   ESS_FUNC_M    sts = ESS_STS_NOERR;
   
   sts = EssPartitionReplaceDefFile(hCtx);
   printf("EssPartitionReplaceDefFile   sts: %ld\n",sts);
   return(sts);
}

See Also

Constant and Structure Definitions for Partitions
EssPartitionApplyOtlChangeFile()
EssPartitionApplyOtlChangeRecs()
EssPartitionCloseDefFile()
EssPartitionFreeDefCtx()
EssPartitionFreeOtlChanges()
EssPartitionGetAreaCellCount()
EssPartitionGetList()
EssPartitionGetOtlChanges()
EssPartitionGetReplCells()
EssPartitionNewDefFile()
EssPartitionOpenDefFile()
EssPartitionPurgeOtlChangeFile()
EssPartitionPutReplCells()
EssPartitionReadDefFile()
EssPartitionReadOtlChangeFile()
EssPartitionResetOtlChangeTime()
EssPartitionValidateDefinition()
EssPartitionValidateLocal()
EssPartitionWriteDefFile()