# EsbPartitionReadDefFile

Description

EsbPartitionReadDefFile() reads a partition definition file into memory.

Syntax

    EsbPartitionReadDefFile (hCtx, FileHandle, DdbCtxHandle)

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

Parameters

hCtx | Essbase API context handle.
FileHandle | Handle to partition definitions file.
DdbCtxHandle | Distributed database context to be filled.

Return Value

Returns zero if successful; error code if unsuccessful.

Notes

- Use this function as part of a sequence of definition operations. Use EsbPartitionOpenDefFile() to open existing definition files. Use EsbPartitionNewDefFile() to create and open a new definition file. Use EsbPartitionReadDefFile() or EsbPartitionWriteDefFile() to read or write a definition file. Close with EsbPartitionCloseDefFile(). Then free the memory with EsbPartitionFreeDefCtx().

Example

For an example, see EsbPartitionOpenDefFile()

See Also

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