cwbDQ_GetLibName

Purpose

Retrieve the library name used with the cwbDQ_Open API.

Syntax

 
unsigned int CWB_ENTRY cwbDQ_GetLibName(
                             cwbDQ_QueueHandle   queueHandle,
                             char               *libName);

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 * libName - output
Pointer to a buffer where the library 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.