Contains information about dimension-build and data-load progress.
typedef struct ESS_BLDDL_STATE_T { ESS_USHORT_T usProcessState; ESS_USHORT_T usProcessStage; ESS_LONG_T ilProcessStatus; ESS_ULONG_T ulRecordsProcessed; ESS_ULONG_T ulRecordsRejected; } ESS_BLDDL_STATE_T, *ESS_PBLDDL_STATE_T;
Data Type | Field | Description |
---|---|---|
ESS_USHORT_T | usProcessState | The state of dimension build/data load process: whether it is in progress, in the final stages, or completed. For values, see "Constant Values for usProcessState. |
ESS_USHORT_T | usProcessStage | The stage of the dimension build/data load process: whether opening the data source, reading the outline, building dimensions, verifying an outline, or writing an outline. For values, see "Constant Values for usProcessStage." |
ESS_LONG_T | ilProcessStatus | The status of the dimension build/data load process (same as function return status) |
ESS_ULONG_T | ulRecordsProcessed | The number of data records processed so far |
ESS_ULONG_T | ulRecordsRejected | The number of data records rejected so far |
Constant Values for usProcessState
#define ESS_BLDDL_STATE_DONE 0 /* No process, or process complete */ #define ESS_BLDDL_STATE_INPROGRESS 1 /* Process is in progress */ #define ESS_BLDDL_STATE_FINALSTAGE 5 /* Process at final stage */
Constant Values for usProcessStage
#define ESS_BLDDL_STAGE_NONE 0 /* No process */ #define ESS_BLDDL_STAGE_OPENDATASOURCE 1 /* Process at opening data source */ #define ESS_BLDDL_STAGE_OPENOTL 2 /* Process at reading outline */ #define ESS_BLDDL_STAGE_BUILDOTL 3 /* Process at building dimension */ #define ESS_BLDDL_STAGE_VERIFYOTL 4 /* Process at verifying outline */ #define ESS_BLDDL_STAGE_WRITEOTL 5 /* Process at writing outline */ #define ESS_BLDDL_STAGE_RESTRUCT 6 /* Process at restructuring database */ #define ESS_BLDDL_STAGE_DATALOAD 7 /* Process at loading data */ #define ESS_BLDDL_STAGE_FINALIZE 8 /* Process at finalizing*/