# ESS_DBREQINFO_T

This structure is used by EssGetDatabaseInfo(). Essbase has three types of requests for which information exists: data load, calculation, and outline update. The following Essbase API constants identify each type of request:

    typedef struct ESS_DBREQINFO_T
    {
       ESS_ULONG_T      DbReqType;
       ESS_USERNAME_T   User;
       ESS_TIMERECORD_T StartTimeRec;
       ESS_TIMERECORD_T EndTimeRec;
       ESS_ULONG_T      DbReqFlags;
    } ESS_DBREQINFO_T, *ESS_PDBREQINFO_T;

ESS_DBREQTYPE_DATLOAD | 0 | Data Load
ESS_DBREQTYPE_CALC | 1 | Calculation
ESS_DBREQTYPE_OTLUPD | 2 | Outline Update

The fields are:

Data Type | Field | Description
ESS_ULONG_T | DbReqType | Type of database request
ESS_USERNAME_T | User | User name
ESS_TIMERECORD_T | StartTimeRec | Request start time
ESS_TIMERECORD_T | EndTimeRec | Request end time
ESS_ULONG_T | DbReqFlags | Bit map of information flags that provide additional information about the database request. Used when DbReqType is CALC. Available flags: Default (currently contains no information). ESS API constant: ESS_DBREQFLAG_CALCDEF (default calc was run) Custom calc script. ESS API constant: ESS_DBREQFLAG_ CALCDSCR (custom calc was run)