VB Outline Error Return Values

The following table describes the error status constants returned when an Outline API call fails. These values are defined in the Essbase Outline API Visual Basic global text file esberror.bas.

Table 21. Error Return Values

ValueDescription
OTLAPI_BAD_ALIASTABLEIllegal alias table
OTLAPI_BAD_CONSOLInvalid consolidation type (+,-,etc)
OTLAPI_BAD_GENLEVELNAMEInvalid generation or level name
OTLAPI_BAD_HOUTLINEInvalid outline handle passed to EsbOtl... function
OTLAPI_BAD_MBRNAMEInvalid member name
OTLAPI_BAD_MEMBERInvalid member handle
OTLAPI_BAD_MOVEIllegal move of member; for example, can't move a member to its descendant
OTLAPI_BAD_OBJTYPEIllegal object type
OTLAPI_BAD_OUTLINETYPEInvalid outline type
OTLAPI_BAD_RENAMESHAREA shared member cannot be renamed
OTLAPI_BAD_RESTRUCTTYPEInvalid restructure type
OTLAPI_BAD_SORTCOMPAREFUNCInvalid sorting compare function
OTLAPI_BAD_SORTTYPEInvalid sort type
OTLAPI_BAD_TRANSTYPEUnknown transaction type when creating a transaction (internal error)
OTLAPI_BAD_USERATTRInvalid user attribute
OTLAPI_CUR_NOACCOUNTSThere is no Accounts dimension. You need an Accounts dimension to create a currency database
OTLAPI_CUR_NOCOUNTRYThere is no Country dimension. You need a Country dimension to create a currency database
OTLAPI_CUR_NOTIMEThere is no Time dimension. You need a Time dimension to create a currency database.
OTLAPI_ERR_ADDNAMEUSEDMember name already used (add operation)
OTLAPI_ERR_ALIASSHAREDA shared member cannot have an alias
OTLAPI_ERR_ALIASTABLEEXISTSAlias table already exists
OTLAPI_ERR_ALIASTABLENAMEIllegal alias table name
OTLAPI_ERR_ALREADYCURRENCYThe outline is a currency outline. You are trying to create a currency outline, and the initial outline is already a currency outline.
OTLAPI_ERR_BADSHAREIllegal share value
OTLAPI_ERR_BADSKIPIllegal time balance skip value
OTLAPI_ERR_BADSTORAGEIllegal dimension storage value
OTLAPI_ERR_BADSTORAGECATEGORYIllegal storage category
OTLAPI_ERR_BADTIMEBALIllegal time balance value
OTLAPI_ERR_CONFIGTOOMANYDIMSToo many dimensions to configure automatically
OTLAPI_ERR_COPYALIASTABLESource and destination tables are the same
OTLAPI_ERR_CREATETEMPCannot create temporary file name. You are probably trying to create it on a read-only drive. We create a temporary file on the client every time you open or write an outline from/to the server.
OTLAPI_ERR_CURTOOMANYDIMSToo many dimensions in a currency outline. A currency outline is limited to four dimensions.
OTLAPI_ERR_DELETEDEFALIASCannot delete the default alias table
OTLAPI_ERR_DUP_LANGCODEThe language code is assigned to another alias table within the same database
OTLAPI_ERR_DUPGENLEVNAMECannot add, rename, or set a member name or alias that duplicates a generation or level name
OTLAPI_ERR_DUPLICATEALIASDuplicate alias
OTLAPI_ERR_DUPLICATENAMEDuplicate member name
OTLAPI_ERR_FILEIOCould not read from or write to file
OTLAPI_ERR_FILEOPENCould not open file
OTLAPI_ERR_GENLEVELEXISTSGeneration or level already has a name
OTLAPI_ERR_GENLEVELNAMEEXISTSGeneration or level name already exists
OTLAPI_ERR_GENLEVNAMEMBRCannot add a generation or level name that duplicates a member name or alias
OTLAPI_ERR_GENLEVELVALUEIllegal generation or level value
OTLAPI_ERR_ILLEGALALIASSTRINGIllegal member combinational for alias
OTLAPI_ERR_ILLEGALCOMBOALIASIllegal combinational alias name
OTLAPI_ERR_ILLEGALCURRENCYIllegal currency member
OTLAPI_ERR_ILLEGALDEFALIASIllegal default alias name
OTLAPI_ERR_ILLEGALNAMEIllegal member name
OTLAPI_ERR_ILLEGALTAGIllegal dimension tag (category)
OTLAPI_ERR_INVALIDOPTIONOccurs when the user passes in an invalid option to EssOtlGetGenNames() or EssOtlGetLevelNames()
OTLAPI_ERR_LEAFLABELLeaf member defined as a label member
OTLAPI_ERR_MAXALIASTABLESMaximum number of alias tables has been reached
OTLAPI_ERR_MEMBERCALCIllegal member formula
OTLAPI_ERR_NOALIASNo alias for this member
OTLAPI_ERR_NOALIASCOMBONo alias combination
OTLAPI_ERR_NODTSMBRANDGENMATCHDTS member is not enabled for this generation
OTLAPI_ERR_NOFORMULANo formula for this member
OTLAPI_ERR_NOSHAREPROTOShared member with no actual member
OTLAPI_ERR_NOTADIMDimension name expected
OTLAPI_ERR_NOTIMEDIMNo time dimension defined (can't do time balance operations without a time dimension)
OTLAPI_ERR_NOTVERIFIEDOutline has errors (when saving to the server)
OTLAPI_ERR_OPENMODEFile was opened in the wrong mode to make this call. If you call EssOtlOpenOutlineQuery() to open the outline, not all of the calls will work.
OTLAPI_ERR_RENAMEDEFALIASCannot rename the default alias table
OTLAPI_ERR_RENAMENAMEUSEDMember name already used (rename operation)
OTLAPI_ERR_SHAREDMEMBERFORMULAShared member cannot have a formula
OTLAPI_ERR_SHARENOTLEVEL0Shared member not at level 0 (a shared member cannot be a parent of another member)
OTLAPI_ERR_SHAREUDACannot set a user attribute for a shared member
OTLAPI_ERR_TIMESPARSEAccounts dimension is dense and time dimension sparse-is not used
OTLAPI_NULL_ARGNULL argument passed to EsbOtl... function
OTLAPI_NO_GENLEVELNAMECannot find generation or level name
OTLAPI_NO_USERATTRCannot find user attribute
OTLAPI_SORT_TOOMANYToo many members to sort (64K / 4 members is the maximum sorting capacity)