tibemsMsgProducer_Close

Function

Purpose

Destroy the producer object; reclaim resources.

C Declaration

tibems_status tibemsMsgProducer_Close(
    tibemsMsgProducer msgProducer );

COBOL Call

CALL "tibemsMsgProducer_Close"
     USING BY VALUE msgProducer,
           RETURNING tibems-status
END-CALL.
Note: msgProducer has usage pointer.

Parameters

Parameter Description
msgProducer Close this producer.

Remarks

This call also notifies the server that the client program is closing the producer. In response, the server reclaims storage associated with the producer.

Your program must explicitly close all producers that it creates.