EsbPartitionWriteDefFile

Description

EsbPartitionWriteDefFile() writes the current memory version of the shared-partition definition file to disk.

Syntax

EsbPartitionWriteDefFile (hCtx, FileHandle, DdbCtxHandle)

ByVal hCtx As Long
ByVal FileHandle As Long
ByVal DdbCtxHandle As Long

Parameters

hCtx Essbase API context handle.
FileHandle Handle to shared partition definition file.
DdbCtxHandle Values to be written.

Return Value

Returns zero if successful, error code if unsuccessful.

Notes

Use this function as part of a sequence of definition operations.

  1. Use EsbPartitionOpenDefFile() to open existing definition files.
  2. Use EsbPartitionNewDefFile() to create and open a new definition file.
  3. Use EsbPartitionReadDefFile() or EsbPartitionWriteDefFile() to read or write a definition file.
  4. Close with EsbPartitionCloseDefFile().
  5. Then free the memory with EsbPartitionFreeDefCtx().

Example

For an example, see EsbPartitionNewDefFile()

See Also

EsbPartitionApplyOtlChangeFile
EsbPartitionApplyOtlChangeRecs
EsbPartitionCloseDefFile
EsbPartitionFreeDefCtx
EsbPartitionFreeOtlChanges
EsbPartitionGetAreaCellCount
EsbPartitionGetList
EsbPartitionGetOtlChanges
EsbPartitionGetReplCells
EsbPartitionNewDefFile
EsbPartitionOpenDefFile
EsbPartitionPurgeOtlChangeFile
EsbPartitionPutReplCells
EsbPartitionReadDefFile
EsbPartitionReadOtlChangeFile
EsbPartitionResetOtlChangeTime
EsbPartitionReplaceDefFile
EsbPartitionValidateDefinition
EsbPartitionValidateLocal