Purpose
Retrieve the queue name used with the cwbDQ_Open API.
Syntax
unsigned int CWB_ENTRY cwbDQ_GetQueueName(
cwbDQ_QueueHandle queueHandle,
char *queueName);
Parameters
- cwbDQ_QueueHandle queueHandle - input
- Handle that was returned by a previous call to the cwbDQ_Open function.
This identifies the iSeries™ data queue object.
- char * queueName - output
- Pointer to a buffer where the queue name will be written.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWBDQ_INVALID_QUEUE_HANDLE
- Invalid queue handle.
Usage
This function requires that you have previously
issued cwbDQ_Open.