MQPMO - Put-message options

The following table summarizes the fields in the structure.

Field Description Topic
StrucId Structure identifier StrucId
Version Structure version number Version
Options Options that control the action of MQPUT and MQPUT1 Options
Timeout Reserved Timeout
Context Object handle of input queue Context
KnownDestCount Number of messages sent successfully to local queues KnownDestCount
UnknownDestCount Number of messages sent successfully to remote queues UnknownDestCount
InvalidDestCount Number of messages that could not be sent InvalidDestCount
ResolvedQName Resolved name of destination queue ResolvedQName
ResolvedQMgrName Resolved name of destination queue manager ResolvedQMgrName
Note: The remaining fields are ignored if Version is less than MQPMO_VERSION_2.
RecsPresent Number of put message records or response records present RecsPresent
PutMsgRecFields Flags indicating which MQPMR fields are present PutMsgRecFields
PutMsgRecOffset Offset of first put-message record from start of MQPMO PutMsgRecOffset
ResponseRecOffset Offset of first response record from start of MQPMO ResponseRecOffset
PutMsgRecPtr Address of first put message record PutMsgRecPtr
ResponseRecPtr Address of first response record ResponseRecPtr
Note: The remaining fields are ignored if Version is less than MQPMO_VERSION_3.
OriginalMsgHandle Original message handle OriginalMsgHandle
NewMsgHandle New message handle NewMsgHandle
Action Type of put being performed and the relationship between the original message specified by the OriginalMsgHandle field and the new message specified by the NewMsgHandle field Action
PubLevel Level of subscription targeted by the publication PubLevel

Parent topic: Data types used in the MQI