Putting messages on a local queue using the MQPUT call

 

As input to the MQPUT call, supply:

The output from the MQPUT call is

If the call completes successfully, it also returns your options structure and your message descriptor structure. The call modifies your options structure to show the name of the queue and the queue manager to which the message was sent. If you request that the queue manager generates a unique value for the identifier of the message you are putting (by specifying binary zero in the MsgId field of the MQMD structure), the call inserts the value in the MsgId field before returning this structure to you. Reset this value before you issue another MQPUT.

There is a description of the MQPUT call in the Application Programming Reference.

The following sections describe the information that supply as input to the MQPUT call.

 

Parent topic:

Putting messages on a queue


fg12320_