6000 CWBDQ_INVALID_ATTRIBUTE_HANDLE Invalid attributes handle. 6001 CWBDQ_INVALID_DATA_HANDLE Invalid data handle. 6002 CWBDQ_INVALID_QUEUE_HANDLE Invalid queue handle. 6003 CWBDQ_INVALID_READ_HANDLE Invalid data queue read handle. 6004 CWBDQ_INVALID_QUEUE_LENGTH Invalid maximum record length for a data queue. 6005 CWBDQ_INVALID_KEY_LENGTH Invalid key length. 6006 CWBDQ_INVALID_ORDER Invalid queue order. 6007 CWBDQ_INVALID_AUTHORITY Invalid queue authority. 6008 CWBDQ_INVALID_QUEUE_TITLE Queue title (description) is too long or cannot be converted. 6009 CWBDQ_BAD_QUEUE_NAME Queue name is too long or cannot be converted. 6010 CWBDQ_BAD_LIBRARY_NAME Library name is too long or cannot be converted. 6011 CWBDQ_BAD_SYSTEM_NAME System name is too long or cannot be converted. 6012 CWBDQ_BAD_KEY_LENGTH Length of key is not correct for this data queue or key length is greater than 0 for a LIFO or FIFO data queue. 6013 CWBDQ_BAD_DATA_LENGTH Length of data is not correct for this data queue. Either the data length is zero or it is greater than the maximum allowed of 31744 bytes (64512 bytes for V4R5 and later versions of i5/OS). Note: The maximum allowed data lengh when connected to i5/OS V4R5MO and later systems has been increased to 64512 bytes. When connected to earlier releases of i5/OS, 64512 bytes of data may be written to a data queue, but the maximum length of data that may be read from a data queue is 31744 bytes. 6014 CWBDQ_INVALID_TIME Wait time is not correct. 6015 CWBDQ_INVALID_SEARCH Search order is not correct. 6016 CWBDQ_DATA_TRUNCATED Returned data was truncated. 6017 CWBDQ_TIMED_OUT Wait time has expired and no data has been returned. 6018 CWBDQ_REJECTED_USER_EXIT Command rejected by user exit program. 6019 CWBDQ_USER_EXIT_ERROR Error in user exit program or invalid number of exit programs. 6020 CWBDQ_LIBRARY_NOT_FOUND Library not found on system. 6021 CWBDQ_QUEUE_NOT_FOUND Queue not found on system. 6022 CWBDQ_NO_AUTHORITY No authority to library or data queue. 6023 CWBDQ_DAMAGED_QUEUE Data queue is in an unusable state. 6024 CWBDQ_QUEUE_EXISTS Data queue already exists. 6025 CWBDQ_INVALID_MESSAGE_LENGTH Invalid message length - exceeds queue maximum record length. 6026 CWBDQ_QUEUE_DESTROYED Queue destroyed while waiting to read or peek a record. 6027 CWBDQ_NO_DATA No data was received. 6028 CWBDQ_CANNOT_CONVERT Data cannot be converted for this data queue. The data queue can be used but data cannot be converted between ASCII and EBCDIC. The convert flag on the data object will be ignored. 6029 CWBDQ_QUEUE_SYNTAX Syntax of the data queue name is incorrect. Queue name must follow iSeries object syntax. First character must be alphabetic and all following characters alphanumeric. 6030 CWBDQ_LIBRARY_SYNTAX Syntax of the library name is incorrect. Library name must follow iSeries object syntax. First character must be alphabetic and all following characters alphanumeric. 6031 CWBDQ_ADDRESS_NOT_SET Address not set. The data object was not set with cwbDQ_SetDataAddr(), so the address cannot be retrieved. Use cwbDQ_GetData() instead of cwbDQ_GetDataAddr(). 6032 CWBDQ_HOST_ERROR Host error occurred for which no return code is defined. See the error handle for the message text. 6033 CWBDQ_INVALID_SYSTEM_HANDLE System handle is invalid. 6099 CWBDQ_UNEXPECTED_ERROR Unexpected error.