dsmEndQuery

The dsmEndQuery function call signifies the end of a dsmBeginQuery action. The application client sends dsmEndQuery to complete a query. This call either is sent after all query responses are obtained through dsmGetNextQObj, or it is sent to end a query before all data are returned.

Tip: IBM® Storage Protect continues to send the query data from the server to the client in this case, but the API discards any remaining data.

Once a dsmBeginQuery is sent, a dsmEndQuery must be sent before any other activity can start.

There are no return codes that are specific to this call.

Syntax

dsInt16_t dsmEndQuery  (dsUint32_t dsmHandle);

Parameters

dsUint32_t dsmHandle (I)
The handle that associates this call with a previous dsmInitEx call.