Writes the current memory version of the shared-partition definition file to disk.
Syntax
ESS_FUNC_M EssPartitionWriteDefFile (hCtx, iFileHandle, TpDdbCtx);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | Essbase API context handle. |
iFileHandle | ESS_INT_T | Handle to shared partition definition file. |
pDdbCtx | ESS_PART_T | Values to be written out. |
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 EssPartitionReadDefFile() or EssPartitionWriteDefFile() to read or write a definition file. Close with EssPartitionCloseDefFile(). Then free the memory with EssPartitionFreeDefCtx().
Return Value
Returns zero if successful, error code if unsuccessful.
Example
For an example, see EssPartitionNewDefFile.
See Also