tibemsMsgRequestor_Request

Function

Purpose

Send a request message; wait for a reply.

C Declaration

tibems_status tibemsMsgRequestor_Request(
    tibemsMsgRequestor msgRequestor,
    tibemsMsg message,
    tibemsMsg* reply );

COBOL Call

CALL "tibemsMsgRequestor_Request"
     USING BY VALUE msgRequestor,
           BY VALUE message,
           BY REFERENCE reply,
           RETURNING tibems-status
END-CALL.
Note: msgRequestor, message, and reply have usage pointer.

Parameters

Parameter Description
msgRequestor Send and receive through this requestor.
message Send this request message.
reply When a reply message arrives, the function stores it in this location.

Remarks

This call blocks indefinitely, until a reply arrives.

The requestor receives only the first reply. It discards other replies that arrive subsequently.