# EsbPartitionNewDefFile

Description

EsbPartitionNewDefFile() creates and opens a new shared-partition definition file based upon input parameters supplied.

Syntax

    EsbPartitionNewDefFile (hCtx, FileName, HostDatabase, FileHandle, DdbCtxHandle)

    ByVal hCtx As Long
    ByVal FileName As String
    ByRef HostDatabase As ESB_PART_CONNECT_INFO_T
    ByRef FileHandle As Long
    ByRef DdbCtxHandle As Long

Parameters

hCtx | Essbase API network context.
FileName | Name of file to be created (full path).
HostDatabase | Identifies the host database.
FileHandle | Handle to created file.
DdbCtxHandle | An initialized distributed context.

Return Value

Returns zero if successful; error code if unsuccessful.

Example

See Also

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