Return codes

The following is a list of the return codes in the C API. They include fatal errors, non-fatal warnings, and exit codes.

 

SE_SUCCESS     (0)

The current operation completed successfully.

 

Fatal errors

SE_FAILURE     (-1)

A general ArcSDE system failure. Returned whenever the error is not trapped by a more specific indicator.

SE_INVALID_LAYERINFO_OBJECT     (-2)

The pointer to SE_LAYERINFO is not initialized.

SE_NO_ANNOTATION     (-3)

The given shape has no annotation.

SE_FINISHED     (-4)

The current shape stream has finished successfully. If this code is returned from a shape stream initiation call, no shapes were found.

SE_SDE_NOT_STARTED     (-5)

The call to start the ArcSDE was not executed or did not complete successfully. The ArcSDE server must be started before calling the function that returned this code.

SE_UNCHANGED     (-6)

The specified shape was unchanged. If a shape modification function cannot correctly modify a shape, for whatever reason, it returns this code.

SE_TASKS_EXCEEDED     (-7)

The number of allowed server tasks was exceeded and no more logins to the ArcSDE serverare allowed until a task completes. Returned by the SE_connection_create call only.

SE_CONNECTIONS_EXCEEDED     (-7)

The number of allowed server connections was exceeded and no more logins to the ArcSDE server are allowed until a connection is closed. Returned by the SE_connection_create call only.

SE_LOGIN_NOT_ALLOWED     (-8)

The ArcSDE I/O connection manager task has discontinued logins. No more logins to the ArcSDE server are allowed until an administrator changes the login mode. Returned by the SE_connection_create call only.

SE_INVALID_USER     (-9)

The user attempting to access the ArcSDE server does not have a valid login account on the ArcSDE host machine. Returned by the SE_connection_create call only.

SE_NET_FAILURE     (-10)

A catastrophic error occurred during a client/server round-trip request and the connection between the client task and the server was severed. Almost any call that makes a round-trip request to the ArcSDE server task can return this code.

SE_NET_TIMEOUT     (-11)

Returned when the application that made the call cannot bind itself to the associated server task. Returned by the SE_connection_create call only.

SE_OUT_OF_SVMEM     (-12)

The function failed to complete because the server process was unable to allocate the memory needed to perform the function.

SE_OUT_OF_CLMEM     (-13)

The function failed to complete because the client could not allocate enough dynamic memory to complete the task.

SE_OUT_OF_CONTEXT     (-14)

The call is somehow out of context or inappropriate. Under certain circumstances, some functions are illegal and are not allowed.

SE_NO_ACCESS     (-15)

The caller does not have access to the specified object.

SE_TOO_MANY_LAYERS     (-16)

Exceeded the maximum number of allowed layers as defined in giomgr.defs.

SE_NO_LAYER_SPECIFIED     (-17)

The required layer specification is missing.

SE_LAYER_LOCKED     (-18)

Returned from the layer-locking routines when the specified layer is already locked.

SE_LAYER_EXISTS     (-19)

Returned from the layer creation function when the specified map layer already exists.

SE_LAYER_NOEXIST     (-20)

The user-specified map layer does not exist.

SE_LAYER_INUSE     (-21)

The function was prevented from performing its task because another user is using the layer.

SE_FID_NOEXIST (-22)

The specified shape (LAYER:FID) doesn't exist.

SE_ROW_NOEXIST     (-22)

The specified row doesn't exist in the specified map layer. Returned by shape retrieval functions.

SE_FID_EXISTS (-23)

The specified shape (LAYER:FID) exists.

SE_ROW_EXISTS     (-23)

An operation attempted to insert a shape into an existing row.

SE_LAYER_MISMATCH     (-24)

For this operation, both layers must be the same.

SE_NO_PERMISSIONS     (-25)

The caller does not have database permissions to perform the operation or function.

SE_INVALID_NOT_NULL     (-26)

The specified column has a NOT NULL constraint.

SE_INVALID_SHAPE     (-27)

Returned when a shape cannot be verified as valid.

SE_INVALID_LAYER_NUMBER     (-28)

The map layer number is outside the allowable range.

SE_INVALID_ENTITY_TYPE     (-29)

A shape entity type is invalid or not allowed for the operation or function.

SE_INVALID_SEARCH_METHOD     (-30)

The specified search method is not one of those defined.

SE_INVALID_ETYPE_MASK     (-31)

The entity types or combinations in the entity type mask are invalid. Returned from the map layer creation routine.

SE_BIND_CONFLICT     (-32)

A mismatch occurred in one of the bind/set/get functions.

SE_INVALID_GRIDSIZE     (-33)

One of the specified grid sizes is either too small or too large. Returned from the map layer creation routine.

SE_INVALID_LOCK_MODE     (-34)

The lock mode specified is not one of those supported.

SE_ETYPE_NOT_ALLOWED     (-35)

The entity type of the shape is not one of the types allowed by the map layer definition. Returned from the store and replace shape routines.

SE_TOO_MANY_POINTS (-36)

Exceeded max points specified.

SE_INVALID_NUM_OF_PTS     (-36)

There are more points than allowed by the specified maximum points.

SE_TABLE_NOEXIST     (-37)

The specified DBMS table does not exist.

SE_ATTR_NOEXIST     (-38)

Returned from functions that attempt to access a column that does not exist. Sometimes returned after misspelling the name of the column.

SE_LICENSE_FAILURE     (-39)

A problem exists with the license manager.

SE_OUT_OF_LICENSES     (-40)

All ArcSDE licenses are in use.

SE_INVALID_COLUMN_VALUE     (-41)

The specified value exceeds the valid range for the column.

SE_INVALID_WHERE     (-42)

The user-specified SQL where clause is invalid. The caller should confirm that the syntax and attribute names are correct. This is an old return code; use the new INVALID_SQL return code instead.

SE_INVALID_SQL     (-42)

The user-specified SQL where clause is invalid. In most cases, returned because of syntax problems in the SQL string. You can call the extended error code immediately after this code is returned to inquire about the specific database error code.

SE_LOG_NOEXIST     (-43)

The named logfile does not exist.

SE_LOG_NOACCESS     (-44)

The caller does not have permission to access the specified logfile.

SE_LOG_NOTOPEN     (-45)

Returned from logfile I/O functions when the specified logfile handle is not open.

SE_LOG_IO_ERROR     (-46)

A logfile I/O operation resulted in an error. The caller can check the extended error code to get the errno value.

SE_NO_SHAPES     (-47)

The function found no shapes to process. Usually returned because an empty logfile was specified.

SE_NO_LOCKS     (-48)

No locks were found for the specified map layer. The caller may have specified lock modifications for a layer that does not have any locks defined.

SE_LOCK_CONFLICT     (-49)

The lock request was not granted because the request conflicted with another users lock.

SE_OUT_OF_LOCKS     (-50)

No more locks can be granted because all system lock resources are being used. Also returned from functions that automatically impose locks to complete their tasks.

SE_DB_IO_ERROR     (-51)

A database-level I/O error occurred. You can call the extended error code immediately after this code is returned to inquire about the specific database error code.

SE_STREAM_IN_PROGRESS     (-52)

The function cannot be executed during a stream shape retrieval. Close the stream before calling this function.

SE_INVALID_COLUMN_TYPE     (-53)

The user specified an invalid data type for a column definition.

SE_TOPO_ERROR     (-54)

At least one of the shapes processed by the function violated one of the topological integrity rules. Returned from functions that to complete successfully require the topological integrity of shapes.

SE_ATTR_CONV_ERROR     (-55)

Returned from the attribute mask function when an unsupported DBMS data type is encountered.

SE_INVALID_COLUMN_DEF     (-56)

The user specified an invalid column definition. For example, the user specifies a size of -1 for a column.

SE_INVALID_SHAPE_BUF_SIZE     (-57)

The user specified an invalid shape array buffer size.

SE_INVALID_ENVELOPE     (-58)

An invalid envelope was specified. Returned when the envelope is NULL, has negative values, or a minimum value is larger than a maximum value.

SE_TEMP_IO_ERROR     (-59)

Returned from functions that use temporary system files to perform their tasks. Indicates temporary file permission problems, inadequate disk space, or general temporary file I/O error conditions.

SE_GSIZE_TOO_SMALL     (-60)

Storing the shape would create too many grid records which suggests that the grid size for the target map layer is too small. Returned from functions that store or replace shapes.

SE_LICENSE_EXPIRED     (-61)

The run-time license for the ArcSDE installation on the specified server has expired. See the system administrator to update the ArcSDE license. Returned from the SE_connection_create function only.

SE_TABLE_EXISTS     (-62)

Returned from the table creation function when the specified database table already exists.

SE_INDEX_EXISTS     (-63)

Returned from the attribute index creation functions when an attribute index already exists.

SE_INDEX_NOEXIST     (-64)

The specified index does not exist.

SE_INVALID_POINTER     (-65)

Returned by functions that are passed pointers to data that are either NULL or invalid.

SE_INVALID_PARAM_VALUE     (-66)

Returned from a function that was given an invalid parameter value. The function is unable to continue.

SE_ALL_SLIVERS     (-67)

Returned by an overlay function that reduces all shapes to slivers, yielding no results. In most cases, you can adjust the sliver factor to fix this problem.

SE_TRANS_IN_PROGRESS     (-68)

A user-initiated transaction is currently in progress. The operation cannot be performed until the transaction is committed or rolled back.

SE_IOMGR_NO_DBMS_CONNECT     (-69)

The iomgr has lost its connection to the underlying DBMS.

SE_DUPLICATE_ARC     (-70)

An attempt was made to store or replace a shape where the arc (startpt, midpt, endpt) already exists.

SE_INVALID_ANNO_OBJECT     (-71)

The given annotation object handle is invalid.

SE_PT_NO_EXIST     (-72)

The user-specified point does not exist in the associated map shape.

SE_PTS_NOT_ADJACENT     (-73)

The two given points are not adjacent in the associated map shape.

SE_INVALID_MID_PT     (-74)

The point given as a midpoint along a path is invalid or does not exist.

SE_INVALID_END_PT     (-75)

The specified endpoint is invalid or cannot be located within the associated shape.

SE_INVALID_RADIUS     (-76)

The given radius was too small to perform the operation.

SE_LOAD_ONLY_LAYER     (-77)

The operation cannot be performed because the specified map layer is in LOAD_ONLY mode.

SE_LAYERS_NOT_FOUND     (-78)

The LAYERS table does not exist.

SE_FILE_IO_ERROR     (-79)

An error occurred when creating or writing to an output file.

SE_BLOB_SIZE_TOO_LARGE     (-80)

An attempt is made to store a BLOB that exceeds the maximum allowable size of the ArcSDE server as specified by the MAXBLOBSIZE parameter of the giomgr.defs file.

SE_CORRIDOR_OUT_OF_BOUNDS     (-81)

The specified source shape and corridor distance would result in a corridor with coordinates that exceed the valid coordinate range.

SE_SHAPE_INTEGRITY_ERROR     (-82)

Returned by low-level code indicating an error in the integrity of a shape.

SE_NOT_IMPLEMENTED_YET     (-83)

The specified function is not implemented yet but is intended for a future release.

SE_CAD_EXISTS     (-84)

The shape has a CAD entity.

SE_INVALID_TRANSID     (-85)

The specified internal ArcSDE Transaction ID is invalid.

SE_INVALID_LAYER_NAME     (-86)

The table name entered for the layer definition is invalid. Valid table names must not be NULL.

SE_INVALID_LAYER_KEYWORD     (-87)

The specified layer configuration keyword does not exist in the dbtune.sde configuration parameter file.

SE_INVALID_RELEASE     (-88)

The release/version of the client application does not match the installed release/version of the ArcSDE server, or the installed release/version of the ArcSDE software does not match the release/version of the ArcSDE datasets. If the datasets are older than the ArcSDE server, you can update them with the admversion administration tool.

SE_VERSION_TBL_EXISTS     (-89)

The VERSION table exists when it should not. This error occurs when you attempt to upgrade a server and the VERSION table already exists.

SE_COLUMN_NOT_BOUND     (-90)

A column was specified for an insert/update operation but was not bound (by calling SE_stream_bind_input_column), or the value was not set at the time of execution.

SE_INVALID_INDICATOR_VALUE     (-91)

Returned during the execution of an insert or update operation for a column that was bound by reference (by calling SE_stream_bind_input_column) and the value of the indicator variable was neither IS_NOT_NULL_VALUE nor IS_NULL_VALUE.

SE_INVALID_CONNECTION     (-92)

An invalid or NULL SE_CONNECT connection handle was passed to an ArcSDE function.

SE_INVALID_DBA_PASSWORD     (-93)

An invalid DBA password was passed to an ArcSDE function.

SE_PATH_NOT_FOUND     (-94)

The specified path was not found.

SE_SDEHOME_NOT_SET     (-95)

The SDEHOME variable is not set and is needed for this operation.

SE_NOT_TABLE_OWNER      (-96)

The user must be the owner of the table.

SE_PROCESS_NOT_FOUND     (-97)

The specified process ID does not correspond to an ArcSDE server.

SE_INVALID_DBMS_LOGIN     (-98)

The DBMS did not accept the username or password that was passed to an ArcSDE function.

SE_PASSWORD_TIMEOUT     (-99)

The timestamp of the password received was sent more than MAXTIMEDIFF seconds earlier.

SE_INVALID_SERVER     (-100)

The server machine was not found.

SE_IOMGR_NOT_AVAILABLE     (-101)

The I/O manager is not started. Log in as the ArcSDE administrator and use the sdemon administration tool to determine the status of the I/O manager.

SE_SERVICE_NOT_FOUND     (-102)

ArcSDE was unable to locate the appropriate entry in the /etc/services file. See your ArcSDE system administrator.

SE_INVALID_STATS_TYPE     (-103)

Tried statistics on a nonnumeric column.

SE_INVALID_DISTINCT_TYPE     (-104)

Tried distinct statistics on an invalid type.

SE_INVALID_GRANT_REVOKE     (-105)

Invalid use of the grant/revoke functions.

SE_INVALID_SDEHOME     (-106)

The supplied SDEHOME path is invalid or NULL.

SE_INVALID_STREAM     (-107)

An invalid stream (SE_STREAM) handle was detected.

SE_TOO_MANY_STREAMS     (-108)

An attempt was made to create a stream, but the connection already has the maximum number of streams specified by the giomgr.defs parameter MAXSTREAMS.

SE_OUT_OF_MUTEXES     (-109)

Exceeded systems maximum number of mutexes. Involved in concurrency issues.

SE_CONNECTION_LOCKED     (-110)

The connection is locked to a different thread.

SE_CONNECTION_IN_USE     (-111)

This connection is being used currently by another thread.

SE_NOT_A_SELECT_STATEMENT     (-112)

Returned when trying to describe a prepared SQL statement that was not a query.

SE_FUNCTION_SEQUENCE_ERROR     (-113)

A function was called out of sequence. For example, SE_stream_fetch was called before executing the stream with SE_stream_execute.

SE_WRONG_COLUMN_TYPE     (-114)

Returned when trying to set or get the value of a column in a stream using the wrong column type. For example, calling SE_stream_get_integer on a column that is an SE_FLOAT.

SE_PTABLE_LOCKED     (-115)

The specified point table is locked to a different thread.

SE_PTABLE_IN_USE     (-116)

The point table is being used at the moment by another thread.

SE_STABLE_LOCKED     (-117)

The specified shape table is locked to a different thread.

SE_STABLE_IN_USE     (-118)

The shape table is being used at the moment by another thread.

SE_INVALID_FILTER_TYPE     (-119)

An invalid value is specified in the filter_type field of the SE_FILTER structure.

SE_NO_CAD     (-120)

The shape doesnt have a CAD entity.

SE_INSTANCE_NOT_AVAILABLE     (-121)

No instance is running on the specified server.

SE_INSTANCE_TOO_EARLY     (-122)

The specified instance is a version older than 2.0.

SE_INVALID_SYSTEM_UNITS     (-123)

The specified systems units were < 1 or > 2147483647.

SE_INVALID_UNITS     (-124)

The specified units were not feet, meters, decimal_degrees or other.

SE_INVALID_CAD_OBJECT     (-125)

The SE_CAD pointer is not initialized.

SE_VERSION_NOEXIST     (-126)

The specified version doesnt exist.

SE_INVALID_SPATIAL_CONSTRAINT     (-127)

A set of spatial filters is supplied to SE_stream_set_spatial_constraints with an SE_SPATIAL_FIRST search order, but all the filters have their truth set to FALSE. This prevents ArcSDE from using its spatial index.

SE_INVALID_STREAM_TYPE     (-128)

A stream function is called that is not applicable to the given stream. For example, a call to SE_stream_set_integer on a query_layer stream.

SE_INVALID_SPATIAL_COLUMN     (-129)

The specified column contained NOT NULL values during SE_layer_create.

SE_NO_SPATIAL_MASKS     (-130)

SE_stream_get_spatial_masks was called on a query stream with no spatial masks.

SE_IOMGR_NOT_FOUND     (-131)

The iomgr program was not found.

SE_SYSTEM_IS_CLIENT_ONLY     (-132)

The specified operation must be run on the server.

SE_MULTIPLE_SPATIAL_COLS     (-133)

Only one spatial column is allowed for this operation.

SE_INVALID_SHAPE_OBJECT     (-134)

The given shape object handle is invalid.

SE_INVALID_PARTNUM     (-135)

The specified shape part number does not exist.

SE_INCOMPATIBLE_SHAPES     (-136)

The given shapes are of incompatible types.

SE_INVALID_PART_OFFSET     (-137)

The specified part offset is invalid.

SE_INCOMPATIBLE_COORDREFS     (-138)

The given coordinate reference systems are incompatible.

SE_COORD_OUT_OF_BOUNDS     (-139)

The specified coordinate exceeds the valid coordinate range.

SE_LAYER_CACHE_FULL     (-140)

The maximum number of layers was exceeded in the cache.

SE_INVALID_COORDREF_OBJECT     (-141)

The given coordinate reference object handle is invalid.

SE_INVALID_COORDSYS_ID     (-142)

The coordinate system identifier is invalid.

SE_INVALID_COORDSYS_DESC     (-143)

The coordinate system description is invalid.

SE_INVALID_ROW_ID_LAYER     (-144)

The SE_ROW_ID owner.table does not match the specified layer.

SE_PROJECTION_ERROR     (-145)

An error occurred while projecting the shape.

SE_ARRAY_BYTES_EXCEEDED     (-146)

The value of the max_array_size set in SE_STREAM_SPEC is larger than the MAXARRAYBYTES value in the giomgr.defs file.

SE_POLY_SHELLS_OVERLAP     (-147)

Two donuts or two outer shells of a polygon overlap.

SE_TOO_FEW_POINTS     (-148)

The number of points is less than the number required for a shape.

SE_INVALID_PART_SEPARATOR     (-149)

A part separator is in the wrong position.

SE_INVALID_POLYGON_CLOSURE     (-150)

The polygon does not close properly.

SE_INVALID_OUTER_SHELL     (-151)

The polygon outer shell does not completely enclose all the donuts in a part of the shape.

SE_ZERO_AREA_POLYGON     (-152)

The polygon shell has no area.

SE_POLYGON_HAS_VERTICAL_LINE     (-153)

The area shape contains a vertical line.

SE_OUTER_SHELLS_OVERLAP     (-154)

The multipart area shape has overlapping parts.

SE_SELF_INTERSECTING     (-155)

A simple line or polygon boundary intersects itself.

SE_INVALID_EXPORT_FILE     (-156)

The specified export file is invalid.

SE_READ_ONLY_SHAPE     (-157)

Attempted to modify or free a read-only shape from a shape table.

SE_INVALID_DATA_SOURCE     (-158)

The specified data source (or database) is invalid.

SE_INVALID_STREAM_SPEC     (-159)

A stream specification parameter exceeds the giomgr.defs default.

SE_INVALID_ALTER_OPERATION     (-160)

An attempt was made to alter a layer in an illegal manner. For example, if a layer allows annotations, you cant change the layer to disallow them.

SE_INVALID_SPATIAL_COL_NAME      (-161)

The specified spatial column name is the same as the table name. Returned by SE_layerinfo_set_spatial_column.

SE_INVALID_DATABASE     (-162)

The specified database (or data source) name is invalid. Returned by SE_connection_create.

SE_SPATIAL_SQL_NOT_INSTALLED     (-163)

A required spatial SQL extension isnt present in the underlying DBMS.

SE_NORM_DIM_INFO_NOT_FOUND     (-164)

Obsolete 3.0.2 error code. The dimension parameters for an Spatial Database Option (SDO) table were not found in the dbtune.sde file. Add the parameters to the ##DEFAULTS or another keywords section before trying to recreate the SDO layer. (Oracle specific)

SE_NORM_DIM_TAB_VALUE_NOT_FOUND     (-165)

Obsolete 3.0.2 error code. The dimension parameters in the SDODIM table for an SDO table were not found or are corrupted. (Oracle specific)

SE_UNSUPPORTED_NORMALIZED_OPERATION     (-166)

Obsolete 3.0.2 error code. The requested operation is not supported for normalized layers. (Oracle specific)

SE_INVALID_REGISTERED_LAYER_OPTION     (-167)

Obsolete 3.0.2 error code. Returned if an SDO layer is registered in the ArcSDE LAYERS table, but wasn't created by the ArcSDE software. Usually returned when trying to change a layer between normal and loadonly modes. (Oracle specific)

SE_READ_ONLY     (-168)

Returned if a user tries to insert or update a value into SE_ROW_ID column.

SE_NO_SDE_ROWID_COLUMN     (-169)

The current table doesnt have an ArcSDE-maintained rowid column.

SE_READ_ONLY_COLUMN     (-170)

The column is maintained by the ArcSDE software and isnt user-modifiable.

SE_INVALID_VERSION_NAME     (-171)

Illegal or blank version name.

SE_STATE_NOEXIST     (-172)

The specified state is not in the VERSION_STATES table.

SE_INVALID_STATEINFO_OBJECT     (-173)

The SE_STATEINFO object isnt initialized.

SE_VERSION_HAS_MOVED     (-174)

Attempted to change the state of a version, but its already changed.

SE_STATE_HAS_CHILDREN     (-175)

Tried to open a state which has children.

SE_PARENT_NOT_CLOSED     (-176)

To create a new state, the parent state must be closed.

SE_VERSION_EXISTS    (-177)

The specified version already exists.

SE_TABLE_NOT_MULTIVERSION     (-178)

Attempted an operation on a table that isn't multiversion.

SE_STATE_USED_BY_VERSION     (-179)

You cant delete a state thats being used by a version.

SE_INVALID_VERSIONINFO_OBJECT     (-180)

The VERSIONINFO object hasnt been initialized.

SE_INVALID_STATE_ID     (-181)

The state ID is out of range or doesnt exist.

SE_SDETRACELOC_NOT_SET     (-182)

The SDETRACELOC environment variable isnt set.

SE_ERROR_LOADING_SSA     (-183)

A problem occurring when loading the server-side application.

SE_TOO_MANY_STATES     (-184)

This operation has more states than can fit in an SQL statement.

SE_STATES_ARE_SAME     (-185)

The function takes two different states, but the same one was given twice.

SE_NO_ROWID_COLUMN     (-186)

The table doesnt have a usable row ID column.

SE_NO_STATE_SET     (-187)

The state must be set before calling the function.

SE_SSA_FUNCTION_ERROR     (-188)

An error occurred while executing a server-side application function.

SE_INVALID_REGINFO_OBJECT     (-189)

The REGINFO object hasnt been initialized.

SE_NO_COMMON_LINEAGE     (-190)

Attempted to trim between states on different lineage branches.

SE_STATE_INUSE     (-191)

The specified state is currently being modified.

SE_STATE_TREE_INUSE     (-192)

A lock was requested for a state tree but one or more of the states is already locked.

SE_INVALID_RASTER_COLUMN     (-193)

The raster column has non-NULL values or is being used as a row_id column.

SE_RASTERCOLUMN_EXISTS     (-194)

A raster column already exists.

SE_INVALID_MVTABLE_INDEX     (-195)

Unique indexes are not allowed on multiversion tables.

SE_INVALID_STORAGE_TYPE     (-196)

Invalid layer storage type.

SE_AMBIGUOUS_NIL_SHAPE     (-197)

No SQL type provided when converting a NIL shape to text.

SE_INVALID_BYTE_ORDER     (-198) 

Invalid byte order for well-known binary shape.

SE_INVALID_GEOMETRY_TYPE     (-199) 

The shape type in the given shape is not a valid geometry type.

SE_INVALID_NUM_MEASURES     (-200) 

The number of measures in the shape must be zero or equal to the number of points.

SE_INVALID_NUM_PARTS     (-201) 

The number of parts in the shape is incorrect for its geometry type.

SE_BINARY_TOO_SMALL     (-202) 

The memory allocated for a ESRI binary shape is too small.

SE_SHAPE_TEXT_TOO_LONG     (-203) 

Shape text representation exceeds the maximum allowed string length.

SE_SHAPE_TEXT_ERROR     (-204) 

A syntax error exists in the supplied shape text representation.

SE_TOO_MANY_PARTS     (-205) 

Number of parts in the shape is more than expected for the givenshape text representation.

SE_TYPE_MISMATCH     (-206) 

Shape's SQL type is not as expected when constructing the shape from the text representation.

SE_SQL_PARENTHESIS_MISMATCH     (-207) 

Found a parenthesis mismatch when parsing the shape text representation.

SE_NIL_SHAPE_NOT_ALLOWED     (-208) 

A NIL shape is not allowed in a well-known binary representation.

SE_INSTANCE_ALREADY_RUNNING     (-209) 

Tried to start an already running ArcSDE instance.

SE_UNSUPPORTED_OPERATION     (-210) 

The requested operation is unsupported.

SE_INVALID_EXTERNAL_LAYER_OPTION      (-211)

An invalid request was made on an external layer. Replaced the SE_INVALID_REGISTERED_LAYER_OPTION return code.

SE_NORMALIZE_VALUE_NOT_FOUND     (-212)

The dimension parameters for a normalized layer table were not found.

SE_INVALID_QUERY_TYPE     (-213)

The query type is invalid.

SE_NO_TRACE_LIBRARY     (-214)

The library doesnt contain any trace functions.

SE_TRACE_ON     (-215)

Tried to start tracing but its already enabled.

SE_TRACE_OFF     (-216)

Tried to stop tracing but its already disabled.

SE_SCL_SYNTAX_ERROR     (-217)

Shape comparison language statement couldnt be interpreted by the SCL compiler.

SE_TABLE_REGISTERED     (-218)

The table is already registered.

SE_INVALID_REGISTRATION_ID     (-219)

The registration ID is out of range.

SE_TABLE_NOREGISTERED     (-220)

The table is not registered.

SE_TOO_MANY_REGISTRATIONS     (-221)

The number of registered tables has exceeded the max_registrations value.

SE_DELETE_NOT_ALLOWED     (-222)

The object cant be deleted because other objects depend on it.

SE_ROW_LOCK_ENABLED     (-223)

The row lock is already enabled.

SE_ROW_LOCK_NOT_ENABLED     (-224)

The row lock is already disabled.

SE_RASTERCOLUMN_INUSE     (-225)

Another user is using the requested raster column.

SE_RASTERCOLUMN_NOEXIST     (-226)

The specified raster column doesnt exist.

SE_INVALID_RASTERCOLUMN_NUMBER     (-227)

The specified raster column number is out of range or doesnt exist.

SE_TOO_MANY_RASTERCOLUMNS     (-228)

The maximum number of raster columns was exceeded.

SE_INVALID_RASTER_NUMBER     (-229)

The specified raster number is out of range.

SE_NO_REQUEST_STATUS     (-230)

The status of the request can't be determined.

SE_NO_REQUEST_RESULTS     (-231)

Can't open the request results.

SE_RASTERBAND_EXISTS     (-232)

The specified raster band already exists.

SE_RASTERBAND_NOEXIST     (-233)

The specified raster band doesnt exist.

SE_RASTER_EXISTS     (-234)

The specified raster already exists.

SE_RASTER_NOEXIST     (-235)

The specified raster doesnt exist.

SE_TOO_MANY_RASTERBANDS     (-236)

The maximum allowed number of raster bands was exceeded.

SE_TOO_MANY_RASTERS     (-237)

The maximum allowed number of rasters was exceeded.

SE_VIEW_EXISTS     (-238)

The specified DBMS view already exists.

SE_VIEW_NOEXIST     (-239)

The specified DBMS view doesnt exist.

SE_LOCK_EXISTS     (-240)

The specified lock record already exists.

SE_ROWLOCK_MASK_CONFLICT     (-241)

A conflict exists in the row locking mask.

SE_NOT_IN_RASTER     (-242)

The specified raster band is not in a raster.

SE_INVALID_RASBANDINFO_OBJECT     (-243)

The specified RASBANDINFO object doesnt exist.

SE_INVALID_RASCOLINFO_OBJECT     (-244)

The specified RASCOLINFO object doesnt exist.

SE_INVALID_RASTERINFO_OBJECT     (-245)

The specified RASTERINFO object doesnt exist.

SE_INVALID_RASTERBAND_NUMBER     (-246)

The specified raster band number is out of range or doesnt exist.

SE_MULTIPLE_RASTER_COLS     (-247)

Only one raster column is allowed.

SE_TABLE_SCHEMA_IS_LOCKED     (-248)

The specified table is already locked.

SE_INVALID_LOGINFO_OBJECT     (-249)

The SE_LOGINFO pointer isnt initialized.

SE_SQL_TOO_LONG     (-250)

The operation generated a SQL statement that is too long for the internal buffers or the underlying DBMS. Could possibly occur with difference detection or versioned queries.

SE_UNSUPPORTED_ON_VIEW     (-251)

The operation isnt supported with views.

SE_LOG_EXISTS     (-252)

The specified logfile already exists.

SE_LOG_IS_OPEN     (-253)

The specified logfile is open.

SE_SPATIALREF_EXISTS     (-254)

The specified spatial reference entry already exists.

SE_SPATIALREF_NOEXIST     (-255)

The specified spatial reference entry doesnt exist.

SE_SPATIALREF_IN_USE     (-256)

The specified spatial reference entry is in use by one or more layers.

SE_INVALID_SPATIALREFINFO_OBJECT     (-257)

The SE_SPATIALREFINFO object isnt initialized.

SE_SEQUENCENBR_EXISTS     (-258)

The raster band squence number already exists.

SE_INVALID_QUERYINFO_OBJECT     (-259)

The SE_QUERYINFO object isnt initialized.

SE_QUERYINFO_NOT_PREPARED     (-260)

The SE_QUERYINFO object hasnt been prepared for a query.

SE_INVALID_RASTILEINFO_OBJECT     (-261)

The SE_RASTILEINFO object isnt initialized.

SE_INVALID_RASCONSTRAINT_OBJECT     (-262)

The SE_RASCONSTRAINT object isnt initialized.

SE_INVALID_METADATA_RECORD_ID     (-263)

The record ID number doesnt exist or is invalid.

SE_INVALID_METADATA_OBJECT     (-264)

The SE_METADATAINFO object isnt initialized.

SE_INVALID_METADATA_OBJECT_TYPE     (-265)

The meta-data object type isnt supported.

SE_SDEMETADATA_NOT_FOUND     (-266)

The SDEMETADATA table doesn't exist.

SE_METADATA_RECORD_NOEXIST     (-267)

The meta-data record doesnt exist.

SE_GEOMETRYCOL_NOEXIST     (-268)

The geometry entry doesnt exist.

SE_INVALID_FILE_PATH     (-269)

The file path either doesnt exist, is too long (>512 characters), or contains invalid characters. Returned by SE_connection_create when checking SDEHOME or a path to a database.

SE_INVALID_LOCATOR_OBJECT_TYPE     (-270)

The locator object is not initialized.

SE_INVALID_LOCATOR     (-271)

The table doesn't have an associated locator.

SE_TABLE_HAS_NO_LOCATOR     (-272)

The locator is not valid.

SE_INVALID_LOCATOR_CATEGORY     (-273)

The locator category isn't specified.

SE_INVALID_LOCATOR_NAME     (-274)

The locator name is invalid.

SE_LOCATOR_NOEXIST     (-275)

The locator doesn't exist.

SE_LOCATOR_EXISTS     (-276)

The locator already exists.

SE_INVALID_LOCATOR_TYPE     (-277)

The locator type is unsupported.

SE_NO_COORDREF     (-278)

The coordinate reference isnt defined.

SE_CANT_TRIM_RECONCILED_STATE     (-279)

You cant trim past an already reconciled state.

SE_FILE_OBJECT_NOEXIST     (-280)

The fileinfo object doesnt exist.

SE_FILE_OBJECT_EXISTS     (-281)

The fileinfo object already exists.

SE_INVALID_FILEINFO_OBJECT     (-282)

The fileinfo object  isnt initialized.

SE_INVALID_FILEINFO_OBJECT_TYPE     (-283)

The fileinfo object  type isnt supported.

SE_RASTERBAND_NO_STATS     (-284)

Statistics arent available for this raster band.

SE_VERSION_HAS_CHILDREN     (-285)

You cant delete a version that has child versions.

SE_SQLTYPE_UNSUPPORTED_ETYPE     (-286)

SQL type doesnt support annotation or CAD entities at the current release.

SE_NO_DBTUNE_FILE     (-287)

The dbtune.sde file is missing or unreadable.

SE_LOG_SYSTABLES_CREATE_FAILED     (-288)

The logfile system tables dont exist or could not be created when the ArcSDE server was started.

SE_OBJECT_RESTRICTED     (-289)

This application cant perform the operation on the specified object.

SE_INVALID_GEOGTRAN_OBJECT     (-290)

The given geographic transformation object  is invalid.

SE_COLUMN_EXISTS     (-291)

The specified column already exists.

SE_SQL_KEYWORD     (-292)

The specified SQL keyword doesnt exist or is invalid.

SE_INVALID_OBJECTLOCKINFO_OBJECT     (-293)

The specified objectlock handle is invalid.

SE_RASTERBUFFER_TOO_SMALL     (-294)

The raster buffer size is not large enough.

SE_INVALID_RASTER_DATA     (-295)

The specified raster data is invalid.

SE_OPERATION_NOT_ALLOWED     (-296)

The specified operation is not allowed.

SE_INVALID_RASTERATTR_OBJECT     (-297)

The specified SE_RASATTR object isnt initialized or is invalid.

SE_INVALID_VERSION_ID     (-298)

The specified version ID is  invalid.

SE_MVTABLE_CANT_BE_LOAD_ONLY     (-299)

You cant put a multiversion table into load-only mode or make a load-only table multiversioned.

SE_INVALID_SDO_GEOM_METADATA_OBJ     (-300)

The user-supplied table or column is invalid.

SE_ROW_OUT_OF_SEQUENCE     (-301)

The next row was not the expected row.

SE_INSTANCE_IS_READ_ONLY     (-302)

The ArcSDE instance is read-only.

SE_MOSAIC_NOT_ALLOWED     (-303)

Image mosaicking is not allowed.

SE_INVALID_RASTER_BITMAP     (-304)

The raster bitmap object is invalid.

SE_SEQUENCENBR_NOEXIST     (-305)

The specified band sequence number does not exist.

SE_SQLTYPE_INVALID_FEATURE_TYPE     (-306)

The feature type (i.e., rect, arc, circle) is an invalid SQLTYPE.

SE_DBMS_OBJECTS_NOT_SUPPORTED   (-307)

DBMS Objects (Spatial, ADT's not supported)

SE_BINARY_CONV_NO_COLUMNS_FOUND (-308)

 No columns found for binary onversion (LOB/LONGRAW)

SE_RASTERBAND_NO_COLORMAP       (-309)

The raster band has no colormap.

SE_INVALID_BIN_FUNCTION         (-310)

Invalid raster band bin function.

SE_INVALID_RASTERBAND_STATS     (-311)

Invalid raster band statistics.

SE_INVALID_RASTERBAND_COLORMAP  (-312)

Invalid raster band colormap.

SE_INVALID_RASTER_KEYWORD       (-313)

Invalid raster layer configuration keyword.

SE_INCOMPATIBLE_INSTANCE        (-314)

This sort of iomgr can't run on this sort of instance.

SE_INVALID_VOLUME_INFO          (-315)

Export file's volume info is invalid.

SE_INVALID_COMPRESSION_TYPE     (-316)

Invalid compression type.

SE_INVALID_INDEX_PARAM          (-317)

Invalid index parameter.

SE_INVALID_INDEX_TYPE           (-318)

Invalid index type.

SE_SET_VALUE_CONFLICT           (-319)

Try to set conflicting value in object.

SE_ADT_DATATYPE_NOT_SUPPORTED   (-320)

Abstract Data types not supported.

SE_NO_SPATIAL_INDEX             (-321)

No spatial index.

SE_INVALID_IDENTIFIER     (-322)

Name not valid for DBMS.

SE_REGISTERED_TABLE_ROWID_EXIST (-323)

ROWID for Oracle Spatial table already exists.

SE_SERVER_LIB_LOAD_ERROR        (-324)

gsrvr dll for direct could not be loaded.

SE_REGISTRATION_NOT_ALLOWED     (-325)

The table can not be registered.

SE_UNSUPPORTED_ON_MVTABLE  (-326)

Operation not supported on multiversion table.

SE_NO_ARCSDE_LICENSE   (-327)

No ArcSDE server license was found.

SE_UNSUPPORTED_EXPORT_FILE  (-328)

Exportfile format is not supported.  

SE_TABLE_INUSE                  (-329)

Specified table is in use  

SE_INVALID_XMLINDEX_OBJECT      (-330)

SE_XMLINDEXINFO object not initialized

SE_XML_COLUMN_EXISTS            (-331)

Specified XML column exists

SE_XML_TAG_CONFLICT             (-332)

Tag's data type or alias doesn't match.

SE_XML_INDEX_EXISTS             (-333)

XML index already exists.

SE_XML_INDEX_NOEXIST            (-334)

Specified XML index does not exist.

SE_INVALID_XML_INDEX_ALTER      (-335)

Tried to alter non-modifiable field.

SE_XML_TEMPLATE_IN_USE          (-336)

Cannot alter/delete template that's referenced by column.

SE_NOT_XML_INDEX_OWNER          (-337)

Must be owner to del/alter.

SE_INVALID_XMLDOC_OBJECT        (-338)

SE_XMLDOC object not initialized

SE_XML_TAG_NOEXIST              (-339)

Named tag not found.

SE_XML_PARSE_ERROR              (-340)

Illegal XML document syntax

SE_ZM_NOEXISTS                  (-341)

The ZM column does not exists in the layers table

SE_INVALID_DATE                 (-342)

Invalid date value

SE_XML_COLUMN_NOEXIST           (-343)

Given XML column not found

SE_XML_COLUMN_MISMATCH          (-344)

Both XML columns must be the same for this operation.

SE_INVALID_XPATH                (-345)

Incorrect xpath syntax.

SE_XPATH_NOT_SUPPORTED          (-346)

Input xpath tag not supported in current release.

SE_INVALID_COLUMNINFO_OBJECT    (-347)

SE_COLUMNINFO object not initialized

SE_INVALID_XMLTAG_OBJECT        (-348)

SE_XMLTAGINFO object not initialized

SE_INVALID_XMLINDEX_TYPE        (-349)

Wrong type of XML index

SE_INSTANCEDB_UNSUPPORTED_OPERATION  (-350)

The requested operation is unsupported by instance db.

SE_XPATH_INVALID_LOCATION_ALIAS  (-351)

Incorrect xpath location alias syntax.

SE_XPATH_PREDICATE_INVALID_TOKEN (-352)

Incorrect xpath predicate token.

SE_XPATH_PREDICATE_INVALID_OPERATOR       (-353)

Incorrect xpath predicate operator.

SE_XPATH_PREDICATE_INVALID_CONTAIN_SYNTAX (-354)

Incorrect xpath predicate contain function syntax.

SE_XPATH_EMPTY_ELEMENT  (-355)

Empty xpath element is not allowed.

SE_XPATH_INVALID_TOKEN  (-356)

Incorrect xpath token.

SE_SDETMP_NOT_SET               (-357)  

Environment var SDETMP not set to a value   

SE_INVALID_SERVERINFO_OBJECT    (-358)  

SERVERINFO object not initialized.

SE_USER_GROUP_CONFLICT          (-359)  

Ambiguity between a user name and group name when working with permissions

SE_GCDRULE_FILE_EXISTS          (-360)  

Geocoding rule file already exists and force_overwrite is not specified

SE_GCDRULE_FILE_NOT_FOUND       (-361)  

Geocoding rule file is not found

SE_GCDRULE_NOT_FOUND            (-362)  

Geocoding rule is not found in geocoding rule table

SE_GCDRULE_EXISTS               (-363)  

Geocoding rule already exist in the geocoding rule table and force_overwrite is not specified

SE_INVALID_XMLCOLUMN_OBJECT     (-364)  

SE_XMLCOLUMNINFO object not initialized

SE_INVALID_GROUP                (-365)  

Invalid system group name

SE_INVALID_XML_COLUMN           (-366)  

Column contains NOT NULL values during SE_xmlcolumn_create()

SE_INVALID_LOCATOR_PROPERTY     (-367)  

Locator property is too long or invalid

SE_LOCATOR_PROPERTY_MULTIPLE    (-368)  

Locator property has multiple values

SE_DB_SRCH_OUTGEOD_EXTENT       (-369)  

Search window completely outside  oracle spatial geodetic extent

SE_XML_COLUMN_NOT_INDEXED       (-370)  

Cannot use xpath searches on non-indexed columns.

SE_NO_SDE_UUID_COLUMN           (-371)  

The current table doesn't have SDE-maintained UUID column.

SE_INVALID_UUID_COLUMN          (-372)  

Invalid UUID column.

SE_64BIT_LAYER_NOT_SUPPORTED    (-373)  

Underlying RDBMS doesn't support 64-bit layer.

SE_INVALID_INDEX_MASK           (-374)  

Invalid (rebuild) index mask

SE_INVALID_PRECISION            (-375)  

Coordref/Layer precision not OK for requested operation.

SE_INVALID_TRANSFORMINFO_OBJECT  (-376)

The SE_TRANSFORMINFO object is not initialized      

SE_INVALID_RASTERBAND_XFORM_LIST (-377)

Invalid raster band transform list

SE_RASTERBAND_NO_XFORM_LIST      (-378)

The raster band has no transform list

SE_INVALID_QUERYCOLUMN_OBJECT         (-379)  

SE_QUERYCOLUMN object not initialized

SE_MULTIPLE_SHAPESOURCE_SHAPES        (-380)  

Multiple shapes set to SE_SHAPESOURCE shape

SE_INVALID_QUERYSELECT_OBJECT         (-381)  

SE_QUERYSELECT object not initialized

SE_INVALID_SHAPESOURCE_OBJECT         (-382)  

SE_SHAPESOURCE object not initialized

SE_INVALID_SPATIALCONSTRAINT_OBJECT   (-383)  

SE_SPATIALCONSTRAINT object not init'ized

SE_MISSING_JOIN_CONSTRAINT            (-384)  

QUERYFROM join constraint missing

SE_ANSI_JOIN_CONFLICT                 (-385)  

QUERYFROM join conflict

SE_MISSING_JOIN_TABLE                 (-386)  

QUERYFROM join table missing

SE_INVALID_QUERYTABLE_OBJECT          (-387)  

SE_QUERYTABLE object not initialized

SE_INVALID_QUERYFROM_OBJECT           (-388)  

SE_QUERYFROM object not initialized

SE_INVALID_XMLCONSTRAINT_OBJECT       (-389)  

SE_XMLCONSTRAINT object not initialized

SE_INVALID_ATTRIBUTECONSTRAINT_OBJECT (-390)  

SE_ATTRIBUTECONSTRAINT object not init'ized

SE_INVALID_QUERYWHERE_OBJECT          (-391)  

SE_QUERYWHERE object not initialized

SE_CPG_OPEN_ERROR               (-392)  

Error opening codepage converter

SE_CPG_CONVERSION_OVERFLOW      (-393)  

The destination string buffer is too small

SE_CPG_CONVERSION_ERROR         (-394)  

Codepage conversion error

SE_STATE_CLOSED                 (-395)  

Operation invalid on a closed state.

SE_INVALID_ON_BASE_STATE        (-396)  

The requested operation is invalid on the base state.

SE_DC_LICENSE_SERVER_NOT_REGISTERED    (-397)

The direct connect is not registered with an ArcSde server for license.

SE_INVALID_ID_RANGE             (-398)  

The given range of ids is invalid

SE_STATEOBJECT_HAS_NO_LINEAGE   (-399)  

This state object doesn't contain lineage info.

SE_OGCWKB_UNSUPPORTED_EYTPE     (-400)  

OGCWKB type does not support ANNO or CAD.

SE_SET_ORIGIN_NOT_ALLOWED     (-401)  

Not allowed to set image origin.

SE_INVALID_IMAGE_ORIGIN     (-402)

Not a valid image origin.

SE_RASTERBAND_NO_GDB_METADATA     (-403)

The raster band has no GDB metadata.

SE_INVALID_RASTERBAND_GDB_METADATA     (-404)

Invalid raster band GDB metadata.

SE_COMPLEX_COL_INDX_NOT_ALLOWED     (-405)

Not allowed to create index complex column

SE_COMPRESS_ALREADY_RUNNING     (-406)

Can't start compress if compress is already running

SE_SCHEMA_OUT_OF_DATE     (-407)

Schema is out of date.

SE_MVTABLE_HAS_DELTA_ROWS     (-408)

Has rows in delta tables.

SE_LOST_DBMS_CONNECTION     (-409)

Lost connection to underlying DBMS

SE_INT32_OVERFLOW     (-410)

Overflow or value larger then a 32bit integer

SE_INVALID_DBTUNEPARAM_OBJECT     (-411)

DBTUNEPARAM object not initialized

SE_INVALID_DBTUNEKEYWORD_OBJECT     (-412)

DBTUNEKEYWORD object not initialized

SE_TABLE_ARCHIVING     (-413)

Table is already archiving

SE_TABLE_NOT_ARCHIVING     (-414)

Archiving not enabled on this table

SE_INVALID_XMLCOLUMN_ALTER     (-415)

XMLCOLUMN alter tried to modify a column property that cannot change

SE_INVALID_INSTANCEINFO_OBJECT     (-416)

The supplied project instance handle is bad

SE_SCHEMA_EXISTS     (-417)

The schema already exists

SE_SCHEMA_NO_CREATE_PERMISSIONS     (-418)

User has no permissions to create tables in this schema

SE_LAYER_REGISTERED_OUTSIDE_SCHEMA     (-419)

The Layer is already registered outside the current schema

SE_TABLE_REGISTERED_OUTSIDE_SCHEMA     (-420)

The Table is already registered outside the current schema

SE_NOT_IN_USER_TRANS     (-421)

Operation is only valid if there is a user transaction

SE_INVALID_DATASOURCE     (-422)

Datsource machine was not found

SE_SCHEMA_NOT_MASTER_INSTANCE     (-423)

The column index is being altered

SE_XML_COLUMN_ALTERINDEX_MODE     (-424)

Lost connection to underlying DBMS

SE_XML_COLUMN_LOAD_MODE     (-425)

The XML column is in Load-only mode

SE_XML_COLUMN_NORMAL_MODE     (-426)

The XML column is in Normal mode

SE_LOAD_ONLY_TABLE     (-427)

The Table is in Load-only mode

SE_INVALID_ARCHIVING_REGISTRATION     (-428)

Can't set archiving flag during create/alter registration

SE_INVALID_DBTUNE_DATA     (-429)

Invalid DBTUNE data

SE_KEYSET_TABLE_CREATE_FAILED     (-430)

The keyset table could not be created

SE_KEYSET_TABLE_REMOVE_FAILED     (-431)

The keyset table could not be removed

SE_INVALID_HISTORY_OPERATION     (-432)

Operation not allowed on a history table

SE_ST_GEOMETRY_TYPE_NOT_INSTALLED     (-433)

ST_GEOMETRY type not installed

SE_INVALID_CONNECTION_PROPERTY     (-434)

Invalid connection property

SE_INVALID_OBJECT     (-435)

The Object being referenced is not initialized

SE_RASTER_CODEC_ERROR     (-436)

General raster compression error

SE_INVALID_ARCHIVE_OBJECT     (-437)

SE_ARCHIVEINFO object not initialized

SE_DBMS_CONSTRAINT_NOEXIST     (-438)

DBMS constaint does not exist

SE_DBMS_CONSTRAINT_EXIST     (-439)

DBMS constraint exists

SE_INVALID_LAYERGRID_OBJECT     (-440)

SE_LAYERGRID pointer not init

SE_INVALID_REVOKE_SELECT     (-441)

INSERT, UPDATE, and DELETE access must be revoked first

SE_QUERY_KEYSET_NOT_SET     (-442)

Keyset table not created for query

SE_INVALID_RASTER_COL_NAME     (-443)

Invalid raster column name

SE_INVALID_KEYSET_OPERATION     (-444)

This operation not supported with a keyset table.

Non-fatal warnings

The following codes are returned when a non-fatal exception occurs.

SE_SDE_WARNING    (-1000)

Returned by functions that completed successfully but made changes of which the caller needs to be aware. This return code should not be considered a fatal error by the application program.

SE_ETYPE_CHANGED    (-1001)

The function completed successfully but it changed the entity type of the shape.

SE_NO_ROWS_DELETED    (-1002)

No rows were deleted.

SE_TOO_MANY_DISTINCTS    (-1003)

The user tried to perform an SE_DISTINCT_STATS statistic and the resulting number of distinct values exceeds the maximum number allowed. The maximum allowed is the lesser of MAX_DISTINCT (giomgr.defs) and the max_distinct argument in SE_table_calculate_stats.

SE_NULL_VALUE    (-1004)

Returned by the SE_stream_get_<data_type> functions when the given column has a NULL value in the current row.

SE_NO_ROWS_UPDATED    (-1005)

Returned during an update operation when no rows satisfied the users where clause.

SE_NO_CPGCVT    (-1006)

No codepage conversion.

SE_NO_CPGHOME    (-1007)

Cannot find the codepage directory.

SE_DBMS_DOES_NOT_SUPPORT    (-1008)

The DBMS doesnt support this function.

SE_INVALID_FUNCTION_ID    (-1009)

The DBMS function ID is invalid. Returned by SE_connection_get_dbms_function.

SE_LAYERS_UPDATE_FAILED    (-1010)

The layer extent couldnt be updated.

SE_NO_LOCALIZED_MESSAGE    (-1011)

No localized error messages are available.

SE_SPATIAL_INDEX_NOT_CREATED (-1012)

Spatial index not created, server inability to support SPIDX_PARAM specified

SE_FUNC_UNSUPPORTED_ON_DBMS (-1013)

SDE does NOT support this function on this DBMS

SE_SQL_NOT_CACHED (-1014)

SQL statement that is being re- executed was not found in the cache

SE_OBJECT_NOEXIST (-1015)

The Object being referenced does not exist

SE_SDO_VARRAY_LIMIT (-1016)

The limit for Max # of ordinates in the SDO_ORDINATES varray has been reached

SE_SPATIALREF_NO_CLUSTER_TOL (-1017)

No cluster tolerance properties persisted in this spatial reference schema

SE_NO_COMPRESS_STATUS (-1018)

No compress status info available

Exit codes

The following status codes are found in the giomgr.log file when a connection exits.

When a connection goes down on a signal or with an exception code, see your operating system documentation for information on any reported warnings or errors.

SE_EXIT_SUCCESS    0

SE_EXIT_INVALID_COMMAND_LINE    1

SE_EXIT_IOMGR_IO_ERROR    2

SE_EXIT_DBMS_CONNECT_REJECTED    3

SE_EXIT_SHARED_MEMORY_ERROR    4

SE_EXIT_MALLOC_ERROR    5

SE_EXIT_CLIENT_IO_ERROR    6

SE_EXIT_LOGFILE_INIT_FAILED    7

SE_EXIT_LOST_CLIENT    8

SE_EXIT_BAD_COMMAND_CODE    9

SE_EXIT_REGISTRY_INIT_FAILED    10

SE_EXIT_LAYERS_INIT_FAILED    11

SE_EXIT_METADATA_INIT_FAILED    12

SE_EXIT_METADATA_INIT_FAILED    13

SE_EXIT_VERSION_INIT_FAILED    14

SE_EXIT_LOCATOR_INIT_FAILED    15

SE_EXIT_NO_LOCALIZED_MESSAGE    16

SE_EXIT_MUTEX_ERROR    17