Note: See the iSeries™ Access for Windows® database APIs topic for important
information regarding database APIs.
6001 CWBDB_CANNOT_CONTACT_SERVER
An error was encountered which prevented the Data Access server from
being started.
6002 CWBDB_ATTRIBUTES_FAILURE
An error was encountered during attempt to set the Data Access
server attributes.
6003 CWBDB_SERVER_ALREADY_STARTED
An attempt to start the Data Access server was made while a valid
server was running. Stop the server before restarting it.
6004 CWBDB_INVALID_DRDA_PKG_SIZE
The valid submitted for the DRDA package size was invalid.
6005 CWBDB_REQUEST_MEMORY_ALLOCATION_FAILURE
A memory allocation attempt by a request handle failed.
6006 CWBDB_REQUEST_INVALID_CONVERSION
A Request handle failed in an attempt to convert data.
6007 CWBDB_SERVER_NOT_ACTIVE
The Data Access server is not started. It must be started before
continuing.
6008 CWBDB_PARAMETER_ERROR
Attempt to set a parameter failed. Re-try. If error persists, there
may be a lack of available memory.
6009 CWBDB_CLONE_CREATION_ERROR
Could not create a clone request.
6010 CWBDB_INVALID_DATA_FORMAT_FOR_CONNECTION
The data format object was not valid for this connection.
6011 CWBDB_DATA_FORMAT_IN_USE
The data format object is already being used by another request.
6012 CWBDB_INVALID_DATA_FORMAT_FOR_DATA
The data format object does not match the format of the data.
6013 CWBDB_STRING_ARG_TOO_LONG
The string provided was too long for the parameter.
6014 CWBDB_INVALID_INTERNAL_ARG
Invalid internally generated argument (not user supplied).
6015 CWBDB_INVALID_NUMERIC_ARG
Value of numeric argument is invalid.
6016 CWBDB_INVALID_ARG
Value of argument is invalid.
6017 CWBDB_STMT_NOT_SELECT
The statement provided was not a SELECT statement. This call requires
a SELECT statement.
6018 CWBDB_STREAM_FETCH_NOT_COMPLETE
The connection is in stream fetch mode. Cannot perform desired
operation until stream fetch has ended.
6019 CWBDB_STREAM_FETCH_NOT_ACTIVE
The connection is not in stream fetch mode and must be in order to
perform the desired operation.
6020 CWBDB_MISSING_DATA_PROCESSOR
Pointer to data processor in request object is null.
6021 CWBDB_ILLEGAL_CLONE_REQUEST_TYPE
Cannot create a clone of an attributes request.
6022 CWBDB_UNSOLICITED_DATA
Data were received from the server, but none were requested.
6023 CWBDB_MISSING_DATA
Data were requested from the server, but not all were received.
6024 CWBDB_PARM_INVALID_BITSTREAM
Bitstream within a parameter is invalid.
6025 CWBDB_CONSISTENCY_TOKEN_ERROR
The data format used to interpret the data from the iSeries does not
match the data returned.
6026 CWBDB_INVALID_FUNCTION
The function is invalid for this type of request.
6027 CWBDB_FORMAT_INVALID_ARG
A parameter value passed to the API was not valid.
6028 CWBDB_INVALID_COLUMN_POSITION
The column position passed to the API was not valid.
6029 CWBDB_INVALID_COLUMN_TYPE
The column type passed to the API was not valid.
6030 CWBDB_ROW_VECTOR_NOT_EMPTY
Invalid or corrupted format handle.
6031 CWBDB_ROW_VECTOR_EMPTY
Invalid or corrupted format handle.
6032 CWBDB_MEMORY_ALLOCATION_FAILURE
An error occurred while attempting to allocate memory.
6033 CWBDB_INVALID_CONVERSION
An invalid type conversion was attempted.
6034 CWBDB_DATASTREAM_TOO_SHORT
The data stream received from the host was too short.
6035 CWBDB_SQL_WARNING
The database server received a warning from an SQL operation.
6036 CWBDB_SQL_ERROR
The database server received an error from an SQL operation.
6037 CWBDB_SQL_PARAMETER_WARNING
The database server received a warning about a parameter used in an
SQL operation.
6038 CWBDB_SQL_PARAMETER_ERROR
The database server received an error about a parameter used in an
SQL operation.
6039 CWBDB_LIST_SERVER_WARNING
The database server returned a warning from a catalog operation.
6040 CWBDB_LIST_SERVER_ERROR
The database server returned an error from a catalog operation.
6041 CWBDB_LIST_PARAMETER_WARNING
The database server returned a warning about a parameter used in a
catalog operation.
6042 CWBDB_LIST_PARAMETER_ERROR
The database server returned an error about a parameter used in a
catalog operation.
6043 CWBDB_NDB_FILE_SERVER_WARNING
The database server returned a warning from a file processing
operation.
6044 CWBDB_NDB_FILE_SERVER_ERROR
The database server returned an error from a file processing operation.
6045 CWBDB_FILE_PARAMETER_WARNING
The database server returned a warning about a parameter used in a
file processing operation.
6046 CWBDB_FILE_PARAMETER_ERROR
The database server returned an error about a parameter used in a
file processing operation.
6047 CWBDB_GENERAL_SERVER_WARNING
The database server returned a general warning.
6048 CWBDB_GENERAL_SERVER_ERROR
The database server returned a general error.
6049 CWBDB_EXIT_PROGRAM_WARNING
The database server returned a warning from an exit program.
6050 CWBDB_EXIT_PROGRAM_ERROR
The database server returned an error from an exit program.
6051 CWBDB_DATA_BUFFER_TOO_SMALL
Target data buffer is smaller than source buffer.
6052 CWBDB_NL_CONVERSION_ERROR
Received error back from PiNlConverter.
6053 CWBDB_COMMUNICATIONS_ERROR
Received a communications error during processing.
6054 CWBDB_INVALID_ARG_API
Value of argument is invalid - API level.
6055 CWBDB_MISSING_DATA_HANDLER
Data handler not found in data handler list.
6056 CWBDB_REQUEST_DATASTREAM_NOT_VALID
Invalid datastream in catalog request.
6057 CWBDB_SERVER_UNABLE
Server incapable of performing desired function.
The following return codes are returned by the
cwbDB_StartServerDetailed API:
6058 CWBDB_WORK_QUEUE_START_ERROR
Unable to start server because of client work queue problem.
6059 CWBDB_WORK_QUEUE_CREATE_ERROR
Unable to start server because of client work queue problem.
6060 CWBDB_INITIALIZATION_ERROR
Unable to start server because of client initialization problem.
6061 CWBDB_SERVER_ATTRIBS_ERROR
Unable to start server because of server attribute problem.
6062 CWBDB_CLIENT_LEVEL_ERROR
Unable to start server because of set client level problem.
6063 CWBDB_CLIENT_LFC_ERROR
Unable to start server because of set client language feature
code problem.
6064 CWBDB_CLIENT_CCSID_ERROR
Unable to start server because of set client CCSID problem.
6065 CWBDB_TRANSLATION_INDICATOR_ERROR
Unable to start server because of set translation indicator error.
6066 CWBDB_RETURN_SERVER_ATTRIBS_ERROR
Unable to start server because of return server attribute problem.
6067 CWBDB_SERVER_ATTRIBS_REQUEST
Unable to start server because of missing server attributes request
object.
6068 CWBDB_RETURN_ATTRIBS_ERROR
Unable to start server because of return attribute problem.
6069 CWBDB_SERVER_ATTRIBS_MISSING
Unable to start server because returned server attributes too short
(missing data).
6070 CWBDB_SERVER_LFC_CONVERSION_ERROR
Unable to start server because of data conversion error on server
language feature code field of server attributes.
6071 CWBDB_SERVER_LEVEL_CONVERSION_ERROR
Unable to start server because of data conversion error on server
functional level field of server attributes.
6072 CWBDB_SERVER_LANGUAGE_TABLE_ERROR
Unable to start server because of data conversion error on server
language table ID field of server attributes.
6073 CWBDB_SERVER_LANGUAGE_LIBRARY_ERROR
Unable to start server because of data conversion error on server
language library ID field of server attributes.
6074 CWBDB_SERVER_LANGUAGE_ID_ERROR
Unable to start server because of data conversion error on server
language ID field of server attributes.
6075 CWBDB_COMM_DEQUEUE_ERROR
Unable to start server because of communications error.
6076 CWBDB_COMM_ENQUEUE_ERROR
Unable to start server because of communications error.
6077 CWBDB_UNSUPPORTED_COLUMN_TYPE
An unsupported column type was found in the data.
6078 CWBDB_SERVER_IN_USE
A connection to the database server for the given connection
handle is already being used by another connection handle which
was created with the same system object handle.
6079 CWBDB_SERVER_REL_DB_CONVERSION_ERROR
Unable to start server because of data conversion error on
server relational DB field of server attributes. There is no
message or help text for this return code.
6080 CWBDB_SERVER_FUNCTION_NOT_AVAILABLE
This function is not available on this version of the host server.
6081 CWBDB_FUNCTION_NOT_VALID_AFTER_CONNECT
This function is not valid after connecting to the host server.
6082 CWBDB_INVALID_INITIAL_REL_DB_NAME
The initial relational DB name (IASP) was invalid.
6099 CWBDB_LAST_STREAM_CHUNK
Stream fetch complete.
NOTE: Informational, not an error. There is not a message or help text
for this return code.