MessageId property
Read-write. The MessageId to be included in the MQMD of a message when put on a queue, also the Id to be matched against when getting a message from a queue.
Its initial value is all nulls.
Defined in: MQMessage class
Data Type: String of 24 characters
Syntax:
To get: messageid$ = MQMessage.MessageIdTo set: MQMessage.MessageId = messageid$
Note:See Message Descriptor properties for a discussion of when use MessageIdHex in place of the MessageId property.