## EssPartitionWriteDefFile

Description

Writes the current memory version of the shared-partition definition file to disk.

Syntax

ESS_FUNC_M EssPartitionWriteDefFile (hCtx, iFileHandle, TpDdbCtx);

ESS_HCTX_T | hCtx;
ESS_INT_T | iFileHandle;
ESS_PPART_T | pDdbCtx;

Parameters

hCtx | Essbase API context handle.
iFileHandle | Handle to shared partition definition file.
pDdbCtx | Values to be written out.

Return Value

Returns zero if successful, error code if unsuccessful.

Notes

- Use this function as part of a sequence of definition operations. Use EssPartitionOpenDefFile() to open existing definition files. Use EssPartitionNewDefFile() to create and open a new definition file. Use Read or Write to read or write a difinition file. Close with EssPartitionCloseDefFile(). Then free the memory with EssPartitionFreeDefCtx().

Example

For an example, see EssPartitionNewDefFile()

See Also

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