cwbDQ_Close

Purpose

End the connection with the iSeries™ data queue object that is identified by the specified handle. This will end the conversation with the iSeries system.

Syntax

 
unsigned int CWB_ENTRY cwbDQ_Close(
                             cwbDQ_QueueHandle   queueHandle);

Parameters

cwbDQ_QueueHandle queueHandle - input
Handle that was returned by a previous call to the cwbDQ_Open or cwbDQ_OpenEx function. This identifies the iSeries data queue object.

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 previously issued the following APIs: