Error codes

This section lists and describes the Large Object Locator error codes.
Error code SQL state Description
LLD_E_INTERNAL ULLD0 Internal Large Object Locator error. If you receive this error, call HCL® OneDB® Technical Support.
LLD_E_OK N.A. No error.
LLD_E_EXCEPTION N.A. MI_EXCEPTION raised and handled. Applies to API only.
LLD_E_SQL N.A. SQL error code in SQLSTATE/SQLCODE. Applies to ESQL/C interface only.
LLD_E_ERRNO ULLD1 OS (UNIX/POSIX)
LLD_E_ROW ULLD2 Passed an invalid MI_ROW type. The type should be lld_locator. This is an API error only.
LLD_E_PROTOCOL ULLD3 Passed an invalid or unsupported lo_protocol value.
LLD_E_LOCATION ULLD4 Passed an invalid lo_location value.
LLD_E_EXISTS ULLD5 Attempted to (re)create an existing large object.
LLD_E_NOTEXIST ULLD6 Attempted to open a nonexistent large object.
LLD_E_FLAGS ULLD7 Used invalid flag combination when opening a large object.
LLD_E_LLDIO ULLD8 Passed a corrupted LLD_IO structure.
LLD_E_RDONLY ULLD9 Attempted to write to a large object that is open for read-only access.
LLD_E_WRONLY ULLDA Attempted to read from a large object that is open for write-only access.
LLD_E_SEQ ULLDB Attempted to seek in a large object that is open for sequential access only.
LLD_E_WHENCE ULLDC Invalid whence (seek) value.
LLD_E_OFFSET ULLDD Attempted to seek to an invalid offset.
N.A. ULLDO Specified an invalid lld_lob input string.
N.A. ULLDP Specified an invalid lld_lob type.
N.A. ULLDQ Attempted an invalid cast of an lld_lobtype into a BLOB or CLOB type.
N.A. ULLDR Used an invalid import file specification with the lld_lob type.